MZH
MZH

Reputation: 1534

Class 'WSClient' not found PHP

I'm using wsf/php/2.1.0 using wamp 2.2, I've loaded and enabled wsf.dll and php_xsl.dll and configured my php.ini but still I 'm getting this fatal error.

Fatal error: Class 'WSClient' not found

modification in php.ini and httpd.config

[wsf]
wsf.home="C:\wamp\www\wsf\wsf_c"
wsf.log_path="C:\wamp\www\wsf\wsf_c\wsf_c\logs"
wsf.log_level=3
wsf.rm_db_dir="C:\wamp\www\wsf\wsf_c\wsf_c"



PHPIniDir "C:/wamp/bin/apache/Apache2.2.21/bin/php.ini"
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps

I've defined that wsf folder in envoirmental variable so this folder can be access from anywhere, and also included

ini_set("include_path","C:\wamp\www\wsf\scripts\\");

Can anyone tell me how to make this thing run??

Thanks

Upvotes: 0

Views: 2166

Answers (2)

user1859273
user1859273

Reputation: 21

to use WSF/PHP with WAMP, let me advice you this tutorial. You need to follow this tuto until the end (4.b). Once finished, you follow the installation guide here.

For me, after several attempts, I have finally succeed in using this WSF/PHP API.

Of course, if you encounter some issues again, don't hesitate to post here.

Upvotes: 2

Pavel S.
Pavel S.

Reputation: 1027

I remind this bug (seems so) as well. The obvious cure was to copy/symlink the wsf PHP API directory to the working directory of the script.

Upvotes: 0

Related Questions