Install with IIS on XP

nick's picture

Hi all

Have been writing Web Services in C# for a while now and have been waiting for PHP to catch up.  Very excited when I came across WSF/PHP so I downloaded it today.  Much agony when I try to install with IIS5.0, I am getting that classic '1PHP Warning: PHP Startup: Unable to load dynamic library 'E:\Dev\Code Samples\php-5.2.3-Win32\ext\wsf.dll' - The specified module could not be found. in Unknown on line 0 ' which always seems to crop up when extensions dont load on IIS - I am hoping someone can help me with this as I really want to check out WSF.

I have unpacked the binary into E:\Dev\Code Samples\wso2-wsf-php-bin-1.1.0-win32\, added E:\Dev\Code Samples\wso2-wsf-php-bin-1.1.0-win32\wsf_c\lib into the PATh variable and it is showing up in $ENV[PATH] in the phpinfo print.  My php install lives in E:\Dev\Code Samples\php-5.2.3-Win32 and I have copied wsf.dll into E:\Dev\Code Samples\php-5.2.3-Win32\ext. Then I added the following lines to my php.ini

[wsf]
wsf.home="E:\Dev\Code Samples\wso2-wsf-php-bin-1.1.0-win32\wsf_c"                      
wsf.log_path="E:\Dev\Code Samples\wso2-wsf-php-bin-1.1.0-win32\wsf_c\logs"
wsf.rm_db_dir="E:\Dev\Code Samples\wso2-wsf-php-bin-1.1.0-win32\wsf_c"
wsf.log_level = 3
extension=wsf.dll

I run phpinfo() to check the install is working but get the above error.  Since I can include other dll's from the ext directory I can only assume that wsf.dll is not picking the other libraries it needs, however the WSF install is in the $ENV[PATH] and $SERVER[PATH] variables.

Any help much appreciated.

Nick

stepiens's picture

try to run dependency walker on wsf.dll

Hi Nick had the same issue on Apache 2.2 and php 5.2.(3|4) Windows XP I have run cool program called Dependency Walker (http://www.dependencywalker.com/) on wsf.dll In my case it showed that i had few missing dlls (libxml2.dll, iconv.dll, zlib1.dll and dwmapi.dll). I have downloaded those libraries copied them into the folder (has to be in env variable PATH) then started Apache again and it worked. Thanks, Sylwester    
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)