Link to home
Start Free TrialLog in
Avatar of andieje
andieje

asked on

PHP Installation - no isapi dll's on the download

Hello

I am trying to install the latest version of php on windows as an isapi module. The instructions refer to a file called php5isapi.dll in the sapi directory. I do not have this file. I have php5isapi.c, php5isapi.def and php5isapi.dsp.

Please can you advise what to do. I obtained the latest download from the www.php.net

Thanks very much for your help
Andrea
ASKER CERTIFIED SOLUTION
Avatar of mensuck
mensuck

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of andieje
andieje

ASKER

Thanks very much

I have downloaded the file you suggested and I will see how I get on :) Expect to hear from me!!
Avatar of andieje

ASKER

Hello

I am still having trouble. I seem to have php installed but now I can't install an extension.

I have tried two ways:

1.

ini. file

enable_dl = on
extension dir = "c:\php\ext"
;extension=php_mapscript_44.dll    - the extension is commented out

Code...

 dl('php_mapscript_44.dll');

Error...Warning: dl() [function.dl]: Not supported in multithreaded Web servers - use extension=php_mapscript_44.dll in your php.ini in c:\Inetpub\wwwroot\php\test.php on line 5


Method 2

ini. file

enable_dl = off
extension dir = "c:\php\ext"
extension=php_mapscript_44.dll    


Code

Tried to access one of the functions in the extension directly
 $map = ms_newMapObj("C:\Inetpub\wwwroot\cgi-bin\maps\country.map");

Error
Fatal error: Call to undefined function ms_newMapObj() in c:\Inetpub\wwwroot\php\test.php on line 6

Please can you help
Thanks very much
Avatar of andieje

ASKER

By the way my php is installed  as a module on IIS and i have restarted IIS everytime i change the ini file
Avatar of andieje

ASKER

I have now found out that the extension i was trying to use needs php installed as a cgi not as a module so i have changed that.

My ini file now has the settings

;enable_dl = on
extension dir = "c:\php\ext"
extension=php_mapscript_44.dll  

When i load the page I get a windows dialogue box saying Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mapscript_44.dll' the specified module cannot be found. It is definitely there as I have checked!!

Thanks very much for your help
andrea