PHP Warning: PHP Startup: Unable to load dynamic library 'C:\wsf\php-5.2.5-Win32\ext\wsf.dll' - The specified module could not

dsanchez7th.yahoo.com's picture
Hi, I have installed exactly like the tutorial here http://wso2.org/library/3465. Using exactly the same version from the tutorial for all the files. The only differences is I'm using IIS 6. Whenever i run phpinfo() (which i have created in info.php) from the browser the following things occurred: 1. phperror.log : PHP Warning: PHP Startup: Unable to load dynamic library 'C:\wsf\php-5.2.5-Win32\ext\wsf.dll' - The specified module could not be found. in Unknown on line 0 2. php info load successfully in the browser, but wsf is not load in the list. 3. In php info, Configuration File (php.ini) Path : C:\WINDOWS 4. In php info, Loaded Configuration File : C:\wsf\php-5.2.5-Win32\php.ini 5. Run php-i in command prompt, wsf load successfully in the list. My question is, why does wsf is not load in my browser but it load if i run php-i in command prompt? There is ONLY 1 php.ini file in the server.
nandika's picture

Re

add \wsf_c\lib directory to your path environment variable. Also if you are using Apache2 use PHPIniDir to point to the php.ini Regards Nandika
dsanchez7th.yahoo.com's picture

Re

Hi Nandika, It has been days for me to solve this problem. Really, really need your help. \wsf_c\lib has been added to the path environment variable before I post to this forum. Im not using Apache2 currently. Should I use apache2 instead of IIS? From the tutorial that i've mentioned ealier, is there any missing steps from the tutorial? or is it because im using IIS 6 which is different from the tutorial, IIS 5.1?
nandika's picture

Re

It is a bit difficult to install with IIS then with Apache2. If you are using IIS, you would need to add all the dependency paths to 'path system variable' and restart the machine to take effect. Then it will work with IIS. Regards Nandika
dsanchez7th.yahoo.com's picture

Re

I did all the dependency path to path system variable. Just like the tutorial. WSF still not appear/load in the list of phpinfo(). Only appear ini php-i in command prompt.
dsanchez7th.yahoo.com's picture

Re

Hi Nandika, I have solved the problem from my previous post. I have to build the wsf/php bin from the source. It doesnt work if I just download the binary. Now wsf is load in phpinfo. I have some other issues somehow. When I test the sample provided, it return "Message = ws client create failed". What may cause this error? What should I check and do? Im using wsf/php with Windows 2003 and IIS.
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)