Jump to content

WSF/PHP Built Up -fatal error C1083: Cannot open include file: 'openssl/rand.h':


sandip.waghole

Recommended Posts

Hello,

We are making WSF/PHP built up.

Version we are using as mentioned above

Directory Structure

C:\WSF\wso2-wsf-php-src-1.0.0

C:\wamp\Apache2

C:\wamp\mysql

C:\WSF\PHP 5.2.3\php-5.2.3-src

C:\WSF\PHP 5.2.3\php-5.2.3-Win32

C:\WSF\win32build

C:\WSF\libxml2-2.6.30.win32

C:\WSF\zlib-1.2.3.win32

C:\WSF\iconv-1.9.2.win32

C:\WSF\openssl-0.9.8a.win32

Configure.in

###################################################

### General Build Configuration Parameters

 

# To build with debug symbols set DEBUG = 1

DEBUG = 1

 

###################################################

### Apache Axis2/C Build Configuration Parameters

 

# Path to libxml2 installation

LIBXML2_BIN_DIR = C:\WSO\libxml2\libxml2-2.6.27.win32

 

# Path to iconv installation

ICONV_BIN_DIR = C:\WSO\iconv\iconv-1.9.2.win32

 

# Path to zlib installation

ZLIB_BIN_DIR=C:\WSO\zlib\zlib-1.2.3.win32

 

# Path to Apache2 installation

APACHE_BIN_DIR = "C:\wamp\Apache2"

 

# Apache httpd version, to use apache 2.0.59 set APACHE_VERSION_IS_2_0_59 = 1

APACHE_VERSION_IS_2_0_59 = 0

 

# Enable/disable LibCurl client transport, to enable set ENABLE_LIBCURL = 1

ENABLE_LIBCURL = 0

# Path to LibCurl installation, required if LibCurl transport is enabled

#LIBCURL_BIN_DIR = E:\libcurl-7.15.1-msvc-win32-ssl-0.9.8a-zlib-1.2.3

 

# Enable/disable SSL client transport, to enable set ENABLE_SSL = 1

ENABLE_SSL = 0

# Path to OpenSSL installation, required if SSL transport is enabled

OPENSSL_BIN_DIR = C:\WSO\openssl\openssl-0.9.8e

 

# Enable/disable Guththila parser, to enable set ENABLE_GUTHTHILA = 1

ENABLE_GUTHTHILA = 0

 

 

###################################################

### Apache Rampart/C Build Configuration Parameters

 

# Path to OpenSSL installation

OPENSSL_BIN_DIR = C:\WSO\openssl\openssl-0.9.8e

 

 

###################################################

### Apache Sandesha2/C Build Configuration Parameters

 

# Build with SQLite support for permenent storage, to disable set WITH_SQLITE = 0

WITH_SQLITE = 0

# Path to SQLite installation

#SQLITE_BIN_DIR = "E:\SQLite"

# Path to SQLite source

#SQLITE_SRC_DIR = "E:\sqlite-source-3_3_8"

 

# Build with MySQL support for permenent storage, to enable set WITH_MYSQL = 1

WITH_MYSQL = 1

# Path to MySQL installation

MYSQL_BIN_DIR = "C:\wamp\mysql"

 

###################################################

# Configuration params for building wsf/php extension using its own build

PHP_SRC_DIR = C:\WSO\php 5.2.1_source

PHP_BIN_DIR = C:\WSO\php 5.2.1_bin

WIN32BUILD_DIR = C:\WSO\win32build

 

 

Ootput after execution of build.bat in C:\WSF\wso2-wsf-php-src-1.0.0

        if exist .\..\rampartc-0.90 rmdir /S /Q .\..\rampartc-0.90

        if exist .\int.msvc  rmdir /S /Q .\int.msvc

        if not exist .\..\rampartc-0.90 mkdir .\..\rampartc-0.90

        mkdir .\..\rampartc-0.90\bin\samples\callback

        mkdir .\..\rampartc-0.90\bin\samples\authn_provider

        mkdir .\..\rampartc-0.90\bin\samples\services\sec_echo

        mkdir .\..\rampartc-0.90\bin\samples\client\sec_echo

        mkdir .\..\rampartc-0.90\bin\samples\client\sec_echo\data

        mkdir .\..\rampartc-0.90\bin\samples\credential_provider

        mkdir .\..\rampartc-0.90\modules\rampart

        mkdir .\..\rampartc-0.90\include

        if not exist .\int.msvc mkdir .\int.msvc

        if not exist .\int.msvc\samples\callback\pwcb mkdir .\int.msvc\samples\callback\pwcb

        if not exist .\int.msvc\samples\authn_provider mkdir .\int.msvc\samples\authn_provider

        if not exist .\int.msvc\samples\services\sec_echo\ mkdir .\int.msvc\samples\services\sec_echo

        if not exist .\int.msvc\samples\client\sec_echo\ mkdir .\int.msvc\samples\client\sec_echo

        if not exist .\int.msvc\samples\credential_provider\ mkdir .\int.msvc\samples\credential_provider

mod_rampart.c

rampart_in_handler.c

..\..\include\openssl_pkey.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

rampart_out_handler.c

..\..\include\openssl_pkey.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

rampart_context.c

rampart_crypto_util.c

..\..\include\openssl_digest.h(17) : fatal error C1083: Cannot open include file: 'openssl/sha.h': No such file or directory

rampart_encryption.c

..\..\include\openssl_pkey.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

rampart_engine.c

rampart_handler_util.c

rampart_rd_record.c

rampart_replay_detector.c

rampart_sec_header_builder.c

..\..\include\openssl_pkey.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

rampart_sec_header_processor.c

..\..\include\openssl_pkey.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or dire

ctory

rampart_sec_processed_result.c

rampart_signature.c

..\..\include\openssl_pkey.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

rampart_timestamp_token.c

rampart_token_builder.c

..\..\include\openssl_pkey.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

rampart_token_processor.c

..\..\include\openssl_pkey.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

rampart_username_token.c

rampart_util.c

..\..\include\openssl_util.h(17) : fatal error C1083: Cannot open include file: 'openssl/evp.h': No such file or directory

asym_ctx.c

..\..\include\openssl_pkey.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

Generating Code...

Compiling...

axiom.c

axis2_utils.c

buffer.c

cipher.c

..\..\include\openssl_cipher_property.h(17) : fatal error C1083: Cannot open include file: 'openssl/evp.h': No such fi

le or directory

ctx.c

encryption.c

..\..\include\openssl_pkey.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or dire

ctory

error.c

iv.c

..\..\include\openssl_cipher_property.h(17) : fatal error C1083: Cannot open include file: 'openssl/evp.h': No such fi

le or directory

key.c

..\..\include\openssl_cipher_property.h(17) : fatal error C1083: Cannot open include file: 'openssl/evp.h': No such file or directory

key_mgr.c

..\..\include\openssl_pkey.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

sign_ctx.c

..\..\include\openssl_pkey.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

sign_part.c

signature.c

..\..\include\openssl_cipher_property.h(17) : fatal error C1083: Cannot open include file: 'openssl/evp.h': No such file or directory

transform.c

transforms_factory.c

utility.c

..\..\include\openssl_pkey.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

x509_cert.c

..\..\include\openssl_pkey.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

xml_encryption.c

..\..\include\openssl_cipher_property.h(17) : fatal error C1083: Cannot open include file: 'openssl/evp.h': No such file or directory

xml_key_info_builder.c

..\..\include\openssl_cipher_property.h(17) : fatal error C1083: Cannot open include file: 'openssl/evp.h': No such file or directory

xml_key_processor.c

..\..\include\openssl_cipher_property.h(17) : fatal error C1083: Cannot open include file: 'openssl/evp.h': No such file or directory

Generating Code...

Compiling...

xml_signature.c

..\..\include\openssl_cipher_property.h(17) : fatal error C1083: Cannot open include file: 'openssl/evp.h': No such file or directory

token_binary_security_token.c

..\..\include\openssl_pkey.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

token_c14n_method.c

token_cipher_data.c

token_cipher_value.c

token_data_reference.c

token_digest_method.c

token_digest_value.c

token_ds_reference.c

token_embedded.c

..\..\include\openssl_pkey.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

token_encrypted_data.c

token_encrypted_key.c

token_encryption_method.c

token_key_identifier.c

token_key_info.c

token_key_name.c

token_reference.c

token_reference_list.c

token_security_token_reference.c

token_signature.c

Generating Code...

Compiling...

token_signature_method.c

token_signature_value.c

token_signed_info.c

token_transform.c

token_transforms.c

token_x509_certificate.c

token_x509_data.c

token_x509_issuer_name.c

token_x509_issuer_serial.c

token_x509_serial_number.c

c14n.c

sorted_list.c

cipher_ctx.c

..\..\include\openssl_cipher_ctx.h(18) : fatal error C1083: Cannot open include file: 'openssl/evp.h': No such file or directory

cipher_property.c

..\..\include\openssl_cipher_property.h(17) : fatal error C1083: Cannot open include file: 'openssl/evp.h': No such file or directory

crypt.c

..\..\include\openssl_cipher_ctx.h(18) : fatal error C1083: Cannot open include file: 'openssl/evp.h': No such file or directory

digest.c

..\..\src\omxmlsec\openssl\digest.c(19) : fatal error C1083: Cannot open include file: 'openssl/sha.h': No such file or directory

pem.c

..\..\include\openssl_rsa.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

pkcs12.c

..\..\include\openssl_rsa.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

pkey.c

..\..\include\openssl_pkey.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

rsa.c

..\..\include\openssl_rsa.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

Generating Code...

Compiling...

sign.c

..\..\include\openssl_cipher_ctx.h(18) : fatal error C1083: Cannot open include file: 'openssl/evp.h': No such file or directory

util.c

..\..\include\openssl_util.h(17) : fatal error C1083: Cannot open include file: 'openssl/evp.h': No such file or directory

x509.c

..\..\include\openssl_rsa.h(17) : fatal error C1083: Cannot open include file: 'openssl/rand.h': No such file or directory

applink.c

c1 : fatal error C1083: Cannot open source file: 'C:\WSO\openssl\openssl-0.9.8e\include\openssl\applink.c': No such fi

le or directory

Generating Code...

NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'

Stop.

        if not exist ..\sandesha2 mkdir ..\sandesha2

        if not exist ..\sandesha2\modules\sandesha2 mkdir ..\sandesha2\modules\sandesha2

        if not exist ..\sandesha2\include mkdir ..\sandesha2\include

        if not exist ..\sandesha2\samples mkdir ..\sandesha2\samples

        if not exist ..\sandesha2\bin\samples mkdir ..\sandesha2\bin\samples

        if not exist ..\sandesha2\bin\samples\sandesha2 mkdir ..\sandesha2\bin\samples\sandesha2

        if not exist ..\sandesha2\services\RMSampleService mkdir ..\sandesha2\services\RMSampleService

        if not exist ..\sandesha2\config mkdir ..\sandesha2\config

        if not exist ..\sandesha2\docs mkdir ..\sandesha2\docs

        if not exist .\int.msvc mkdir .\int.msvc

        if not exist .\int.msvc\samples mkdir .\int.msvc\samples

        if not exist .\int.msvc\samples\rm_echo_1_0 mkdir .\int.msvc\samples\rm_echo_1_0

        if not exist .\int.msvc\samples\rm_echo_1_1 mkdir .\int.msvc\samples\rm_echo_1_1

        if not exist .\int.msvc\samples\rm_echo_single_1_0 mkdir .\int.msvc\samples\rm_echo_single_1_0

        if not exist .\int.msvc\samples\rm_echo_single_1_1 mkdir .\int.msvc\samples\rm_echo_single_1_1

        if not exist .\int.msvc\samples\rm_mtom_1_0 mkdir .\int.msvc\samples\rm_mtom_1_0

        if not exist .\int.msvc\samples\rm_ping_1_0 mkdir .\int.msvc\samples\rm_ping_1_0

        if not exist .\int.msvc\samples\rm_ping_1_1 mkdir .\int.msvc\samples\rm_Ping_1_1

        if not exist .\int.msvc\samples\rm_report mkdir .\int.msvc\samples\rm_report

        if not exist .\int.msvc\samples\RMSampleService mkdir .\int.msvc\samples\RMSampleService

        if not exist .\int.msvc\src\core mkdir .\int.msvc\src\core

        if not exist .\int.msvc\src\client mkdir .\int.msvc\src\client

        if not exist .\int.msvc\src\storage\beans mkdir .\int.msvc\src\storage\beans

        if not exist .\int.msvc\src\storage\inmemory mkdir .\int.msvc\src\storage\inmemory

        if not exist .\int.msvc\src\storage\common mkdir .\int.msvc\src\storage\common

        if not exist .\int.msvc\src\transport mkdir .\int.msvc\src\transport

        if not exist .\int.msvc\src\polling mkdir .\int.msvc\src\polling

        if not exist .\int.msvc\src\msgprocessors mkdir .\int.msvc\src\msgprocessors

        if not exist .\int.msvc\src\handlers mkdir .\int.msvc\src\handlers

        if not exist .\int.msvc\src\util mkdir .\int.msvc\src\util

        if not exist .\int.msvc\src\workers mkdir .\int.msvc\src\workers

        if not exist .\int.msvc\src\wsrm mkdir .\int.msvc\src\wsrm

        if not exist .\int.msvc\src\storage\mysql mkdir .\int.msvc\src\storage\mysql

mod_sandesha2.c

msg_validator.c

sandesha2_msg_ctx.c

Generating Code...

client.c

report.c

sequence_report.c

Generating Code...

create_seq_bean.c

invoker_bean.c

next_msg_bean.c

rm_bean.c

sender_bean.c

seq_property_bean.c

Generating Code...

inmemory_bean_mgr.c

inmemory_create_seq_mgr.c

inmemory_invoker_mgr.c

inmemory_next_msg_mgr.c

inmemory_sender_mgr.c

inmemory_seq_property_mgr.c

inmemory_storage_mgr.c

inmemory_transaction.c

Generating Code...

create_seq_mgr.c

invoker_mgr.c

next_msg_mgr.c

sender_mgr.c

seq_property_mgr.c

storage_mgr.c

transaction.c

Generating Code...

sandesha2_transport_sender.c

polling_mgr.c

ack_msg_processor.c

ack_req_msg_processor.c

app_msg_processor.c

close_seq_msg_processor.c

create_seq_msg_processor.c

create_seq_res_msg_processor.c

make_connection_msg_processor.c

msg_processor_creator.c

terminate_seq_msg_processor.c

terminate_seq_res_msg_processor.c

Generating Code...

sandesha2_global_in_handler.c

sandesha2_in_handler.c

sandesha2_out_handler.c

Generating Code...

ack_mgr.c

error.c

fault_data.c

fault_mgr.c

msg_creator.c

msg_init.c

msg_retrans_adjuster.c

property_bean.c

property_mgr.c

sandesha2_utils.c

seq_mgr.c

spec_specific_consts.c

terminate_mgr.c

Generating Code...

in_order_invoker.c

sender.c

sender_worker.c

Generating Code...

accept.c

ack_final.c

ack_none.c

ack_range.c

ack_requested.c

acks_to.c

address.c

close_seq.c

close_seq_res.c

create_seq.c

create_seq_res.c

expires.c

fault_code.c

identifier.c

iom_rm_element.c

iom_rm_part.c

last_msg.c

make_connection.c

msg_number.c

msg_pending.c

Generating Code...

Compiling...

nack.c

rm_elements.c

seq_ack.c

seq_fault.c

seq_offer.c

sequence.c

terminate_seq.c

terminate_seq_res.c

Generating Code...

msg_store_bean.c

permanent_bean_mgr.c

c:\WSF\wso2-wsf-php-src-1.0.0\wsf_c\sandesha2c\src\storage\mysql\sandesha2_permanent_bean_mgr.h(26) : fatal error C108

3: Cannot open include file: 'mysql.h': No such file or directory

permanent_create_seq_mgr.c

c:\WSF\wso2-wsf-php-src-1.0.0\wsf_c\sandesha2c\src\storage\mysql\sandesha2_permanent_bean_mgr.h(26) : fatal error C108

3: Cannot open include file: 'mysql.h': No such file or directory

permanent_invoker_mgr.c

c:\WSF\wso2-wsf-php-src-1.0.0\wsf_c\sandesha2c\src\storage\mysql\sandesha2_permanent_bean_mgr.h(26) : fatal error C108

3: Cannot open include file: 'mysql.h': No such file or directory

permanent_next_msg_mgr.c

c:\WSF\wso2-wsf-php-src-1.0.0\wsf_c\sandesha2c\src\storage\mysql\sandesha2_permanent_bean_mgr.h(26) : fatal error C108

3: Cannot open include file: 'mysql.h': No such file or directory

permanent_sender_mgr.c

c:\WSF\wso2-wsf-php-src-1.0.0\wsf_c\sandesha2c\src\storage\mysql\sandesha2_permanent_bean_mgr.h(26) : fatal error C108

3: Cannot open include file: 'mysql.h': No such file or directory

permanent_seq_property_mgr.c

c:\WSF\wso2-wsf-php-src-1.0.0\wsf_c\sandesha2c\src\storage\mysql\sandesha2_permanent_bean_mgr.h(26) : fatal error C108

3: Cannot open include file: 'mysql.h': No such file or directory

permanent_storage_mgr.c

c:\WSF\wso2-wsf-php-src-1.0.0\wsf_c\sandesha2c\src\storage\mysql\sandesha2_permanent_bean_mgr.h(26) : fatal error C108

3: Cannot open include file: 'mysql.h': No such file or directory

permanent_transaction.c

..\..\src\storage\mysql\permanent_transaction.c(18) : fatal error C1083: Cannot open include file: 'mysql.h': No such

file or directory

Generating Code...

NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'

Stop.

        1 file(s) copied.

options.c

  Creating library ..\..\..\build\axis2c-bin-1.1.0-win32\lib\neethi_util.lib and object ..\..\..\build\axis2c-bin-1.1

.0-win32\lib\neethi_util.exp

        1 file(s) copied.

482 File(s) copied

        1 file(s) copied.

        1 file(s) copied.

        1 file(s) copied.

        1 file(s) copied.

        1 file(s) copied.

        1 file(s) copied.

5 File(s) copied

488 File(s) copied

31 File(s) copied

66 File(s) copied

21 File(s) copied

        1 file(s) copied.

        1 file(s) copied.

        1 file(s) copied.

        1 file(s) copied.

cl : Command line warning D4024 : unrecognized source file type '5.2.3\php-5.2.3-src', object file assumed

cl : Command line warning D4027 : source file '5.2.3\php-5.2.3-src' ignored

cl : Command line warning D4024 : unrecognized source file type '5.2.3\php-5.2.3-src\main', object file assumed

cl : Command line warning D4027 : source file '5.2.3\php-5.2.3-src\main' ignored

cl : Command line warning D4024 : unrecognized source file type '5.2.3\php-5.2.3-src\regex', object file assumed

cl : Command line warning D4027 : source file '5.2.3\php-5.2.3-src\regex' ignored

cl : Command line warning D4024 : unrecognized source file type '5.2.3\php-5.2.3-src\ext', object file assumed

cl : Command line warning D4027 : source file '5.2.3\php-5.2.3-src\ext' ignored

cl : Command line warning D4024 : unrecognized source file type '5.2.3\php-5.2.3-src\sapi', object file assumed

cl : Command line warning D4027 : source file '5.2.3\php-5.2.3-src\sapi' ignored

cl : Command line warning D4024 : unrecognized source file type '5.2.3\php-5.2.3-src\Zend', object file assumed

cl : Command line warning D4027 : source file '5.2.3\php-5.2.3-src\Zend' ignored

cl : Command line warning D4024 : unrecognized source file type '5.2.3\php-5.2.3-src\TSRM', object file assumed

cl : Command line warning D4027 : source file '5.2.3\php-5.2.3-src\TSRM' ignored

php_encoding.c

c:\WSF\wso2-wsf-php-src-1.0.0\src\wsf.h(27) : fatal error C1083: Cannot open include file: 'php.h': No such file or directory

php_http.c

c:\WSF\wso2-wsf-php-src-1.0.0\src\wsf.h(27) : fatal error C1083: Cannot open include file: 'php.h': No such file or directory

php_schema.c

c:\WSF\wso2-wsf-php-src-1.0.0\src\wsf.h(27) : fatal error C1083: Cannot open include file: 'php.h': No such file or directory

php_sdl.c

c:\WSF\wso2-wsf-php-src-1.0.0\src\wsf.h(27) : fatal error C1083: Cannot open include file: 'php.h': No such file or directory

php_xml.c

c:\WSF\wso2-wsf-php-src-1.0.0\src\wsf.h(27) : fatal error C1083: Cannot open include file: 'php.h': No such file or directory

wsf.c

wsf.c(21) : fatal error C1083: Cannot open include file: 'php.h': No such file or directory

wsf_client.c

c:\WSF\wso2-wsf-php-src-1.0.0\src\wsf_common.h(34) : fatal error C1083: Cannot open include file: 'php.h': No such file or directory

wsf_out_transport_info.c

c:\WSF\wso2-wsf-php-src-1.0.0\src\wsf_common.h(34) : fatal error C1083: Cannot open include file: 'php.h': No such file or directory

wsf_policy.c

wsf_policy.c(17) : fatal error C1083: Cannot open include file: 'php.h': No such file or directory

wsf_soap.c

c:\WSF\wso2-wsf-php-src-1.0.0\src\wsf.h(27) : fatal error C1083: Cannot open include file: 'php.h': No such file or directory

wsf_stream.c

c:\WSF\wso2-wsf-php-src-1.0.0\src\wsf_common.h(34) : fatal error C1083: Cannot open include file: 'php.h': No such file or directory

wsf_util.c

wsf_util.c(17) : fatal error C1083: Cannot open include file: 'php.h': No such file or directory

wsf_worker.c

c:\WSF\wso2-wsf-php-src-1.0.0\src\wsf_common.h(34) : fatal error C1083: Cannot open include file: 'php.h': No such file or directory

wsf_xml_msg_recv.c

c:\WSF\wso2-wsf-php-src-1.0.0\src\wsf_common.h(34) : fatal error C1083: Cannot open include file: 'php.h': No such file or directory

Generating Code...

NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'

Stop.

C:\WSF\wso2-wsf-php-src-1.0.0>

Kindly help us to resolve this issue ahead.

 

Sandip Waghole

Geometric Software  Co Ltd. CMM-V Pune India

 

 

 

 

 

 

 

 

 

 

 

 

 

[attachment deleted by admin]

Link to comment
Share on other sites

Hello,

 

We have installed wamp server which have PHP 5.2.4 , Apache 2.2.4.

 

We have successfully built up WSF/PHP, with wamp as server, wsf.dll and are trying to execute the samples.

 

We couldn't understand some steps in installing WSF as PHP extension.

 

Installing WSO2 WSF as a PHP Extension

 

Add wsf_c\lib directory to the path. [Kindly explain this step]

 

We set the PATH variable from system variable with addition of ‘C:\WSF\wso2-wsf-php-1.0.0\wso2-wsf-php-bin-1.0.0-win32\wsf_c\lib\’

 

 

Directory structure

 

C:\WSF\wso2-wsf-php-1.0.0\wso2-wsf-php-bin-1.0.0-win32\wsf_c

 

C:\WSF\wso2-wsf-php-1.0.0\wso2-wsf-php-bin-1.0.0-win32\samples

 

C:\WSF\wso2-wsf-php-1.0.0\wso2-wsf-php-bin-1.0.0-win32\wsf.dll

 

C:\WSF\wso2-wsf-php-1.0.0\wso2-wsf-php-bin-1.0.0-win32\scripts

 

We have copied the folder scripts & samples to c:\wamp\www i.e. Web Server's Document Root.

 

Copied php5apache2.dll to Apache2/modules directory.

 

Environment variable as PHPRC valued ‘C:\wamp\php’ created

 

wsf.dll is copied to dictionary ‘C:\wamp\php\ext’

 

Following lines are added to php.ini

 

[wsf]

 

wsf.home="C:/WSF/wso2-wsf-php-1.0.0/wso2-wsf-php-bin-1.0.0-win32/wsf_c"

 

wsf.log_path="C:/WSF/wso2-wsf-php-1.0.0/wso2-wsf-php-bin-1.0.0-win32/wsf_c/logs"

 

wsf.log_level=3

 

extension=wsf.dll

 

Following lines are copied to httpd.conf located at ‘C:\wamp\Apache2\conf’ of Apache

 

LoadModule php5_module modules/php5apache2.dll

 

AddType application/x-httpd-php .php .phtml

 

AddType application/x-httpd-php-source .phps

 

 

Execution of samples

 

When we were trying to execute the files in samples folder we got following error

 

Fatal error: Class 'WSClient' not found in C:\wamp\www\samples\add_soap_header_client.php on line 26

 

 

 

Kindly help us out in installing WSO2 WSF as a PHP extension.

 

Let us know where we are going wrong.

 

 

 

Thank you for your continuous support.

 

Sandip Waghole

 

Geometric Software Co Ltd,

 

CMM V , Pune Hinjewadi IT Park

 

Pune, India

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.