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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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_4 4.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\tes t.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\w wwroot\cgi -bin\maps\ country.ma p");
Error
Fatal error: Call to undefined function ms_newMapObj() in c:\Inetpub\wwwroot\php\tes t.php on line 6
Please can you help
Thanks very much
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_4
Code...
dl('php_mapscript_44.dll')
Error...Warning: dl() [function.dl]: Not supported in multithreaded Web servers - use extension=php_mapscript_44
Method 2
ini. file
enable_dl = off
extension dir = "c:\php\ext"
extension=php_mapscript_44
Code
Tried to access one of the functions in the extension directly
$map = ms_newMapObj("C:\Inetpub\w
Error
Fatal error: Call to undefined function ms_newMapObj() in c:\Inetpub\wwwroot\php\tes
Please can you help
Thanks very much
ASKER
By the way my php is installed as a module on IIS and i have restarted IIS everytime i change the ini file
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
My ini file now has the settings
;enable_dl = on
extension dir = "c:\php\ext"
extension=php_mapscript_44
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_
Thanks very much for your help
andrea
ASKER
I have downloaded the file you suggested and I will see how I get on :) Expect to hear from me!!