Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


PHP Installation - no isapi dll's on the download

Posted on 2005-05-08
Medium Priority
Last Modified: 2013-12-13

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
Question by:andieje
  • 4
LVL 10

Accepted Solution

mensuck earned 200 total points
ID: 13956220
You have download the source and not the distro package...

Download this.... (core package)


Download this... (PECL, added extensions)


If you need a layout of directories just ask! If you ask include the Server you are using and the version of windows you are using! You can follow the PHP directions for installing but you should never install PHP extensions in to your OS SYSTEM folder. Keep things OS related a part from service type files. It will save you much time when you need to upgrade, but more importantly it will keep your system more secure.


Author Comment

ID: 13958752
Thanks very much

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

Author Comment

ID: 13962362

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

I have tried two ways:


ini. file

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



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"


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

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

Author Comment

ID: 13962375
By the way my php is installed  as a module on IIS and i have restarted IIS everytime i change the ini file

Author Comment

ID: 13962641
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"

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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Suggested Courses

577 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question