login button

Cant install WSF/PHP

Forums :

Hi
I'm new in web services.
I'm using WSF/PHP for my MSc dessertation.
But I'm facing trouble to install it in my pc.
I've followed the installation guide but it seems to be too much advanced for me.
Specially, http://wso2.org/project/wsf/php/1.3.0/docs/manual.html
Part 2.4 of this link is what I'm working on.
Step 3 to 5 is not really clear to me.
What is the name of PATH variable to set?

Plz help me out.
I've passed 3 days just trying to install it.
Waiting 4 ur response.

Thanks.
T@R1Q

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Fatal error

Hi
I've installed wampserver2.0.
Then I've installed wsf/php following the same installation guide.

But when I run client it shows:

Fatal error: Class 'WSClient' not found in D:\WSF\wamp\www\samples\echo_client.php on line 24

Same happens when running server.

what to do?

T@R1Q

Re: Fatal Error

Hi,
When you unzip the WSF/PHP Binary, you will find a folder named wsf_c. Add the folder path to this wsf_c directory to your path environment variable.
Eg. If you have unziped the binary to following folder
C:\wsf-php-bin-1.3.2, then you folder path to wsf_c will be
C:\wsf-php-bin-1.3.2\wsf_c.
In addition, you need to edit php.ini file on your php instalation and the following entries.
wsf.home, wsf.log_path, wsf.rm_db_dir.

Eg

wsf.home = "C:\wsf-php-bin-1.3.2\wsf_c"
wsf.log_path = "C:\wsf-php-bin-1.3.2\wsf_c\logs"
wsf.rm_db_dir = ""C:\wsf-php-bin-1.3.2\wsf_c"
wsf.log_level = 4

This should fix your problem.

Regards
Nandika

Hi When I followed ur

Hi
When I followed ur instruction, I came out with another error.
In php error log:

PHP warning: PHP startup: Unable to load dynamic library './ext\wsf.dll'- The specified module could not be found.

I'm using:
Windows Vista Home
Wamp server2.0 with Apache2.2.8 and php5.2.6.

One more thing:
In httpd.conf, wampserver already included:
LoadModule php5_module "D:/wsf/wamp/bin/php/php5.2.6/php5apache2_2.dll"

So, do I need to add php5apache2.dll?

And could u plz tell me what r the specific environment variable to add and where, in system var or user var?
What will be the path name?

Thanks
I know it's too much but I'm new.

T@R1Q

Did you set the PATH

Did you set the PATH variable (Remember this is System variable called 'PATH' correctly), so your PATH variable should contains wsf/c libs, libxml2, iconv libs and openssl libs(if you run wampserver 2.0, openssl is authomatically integrated so you dont need to specially set that).

you can double check your step with this guide, http://www.dimuthu.org/blog/2008/07/19/install-wsfphp-with-wampserver/

Big cheers 2 u Dimuthu. It's

Big cheers 2 u Dimuthu.
It's finally working.
Ur blog was bang on target.
It's pretty simple.
Thanks a lot.

T@R1Q

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.