Published on WSO2 Oxygen Tank (http://wso2.org)

Installation trouble: Class 'WSClient' not found

By karl3i
Created 2008-06-26 07:59

Hello all,

I'm having trouble running my first PHP SOAP client.
I get the following error:
Fatal error: Class 'WSClient' not found

Yet, when I run Wamp, it appears that WSF extension is loaded, as you can see on this screenshot: http://wso2.org/files/wsfactivated.JPG.

Here is what I've done:

+ Copy wsf.dll in /ext.
+ Add wso2-wsf-php-bin-x.y.z-win32\wsf_c\lib to PATH
+ Add wsf.dll to PATH
+ Add in php.ini:
[wsf]
wsf.home="\wsf_c"
wsf.log_path="\wsf_c\logs"
wsf.log_level=3
extension=wsf.dll
extension_dir ="./ext"
extension = php_xsl.dll
include_path = ".;/"
+ Copy php5apache2.dll to Apache2/modules
+ Add in httpd.conf :
LoadModule php5_module "C:\wamp\bin\apache\apache2.2.6\modules\php5apache2_2.dll" (if I put modules/php5apache2.dll it does not work)
PHPIniDir "C:\wamp\bin\apache\apache2.2.6\bin\"
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps

Thanks for any help,

Karl3i.


Source URL:
http://wso2.org/forum/thread/3765