#39163 [Com]: Invalid API call from php5isapi.dll causing IIS7 Application Pool failure.

From: Date: Wed, 15 Oct 2008 19:08:48 +0000
Subject: #39163 [Com]: Invalid API call from php5isapi.dll causing IIS7 Application Pool failure.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1209@lists.php.net to get a copy of this message
ID: 39163 Comment by: comspex at ict dot ne dot jp Reported By: tony dot stone at gmail dot com Status: No Feedback Bug Type: Documentation problem Operating System: Windows Vista RC 1 Build 5600 PHP Version: 5.2.3 New Comment: The following is the function in question -- RegisterModule. http://msdn.microsoft.com/en-us/library/ms690785.aspx IIS7 seems requiring it. The same error also occurs to php5.dll and php5ts.dll for cgi version. New version of NetBeans is planning to enable PHP development. IIS7 users cannot use it until this problem fixed... Waiting for a good news... Previous Comments: ------------------------------------------------------------------------ [2007-08-25 01:00:00] phpdoc at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2007-08-17 12:40:56] vrana@php.net What exactly and where should be documented? ------------------------------------------------------------------------ [2007-07-22 23:20:06] jani@php.net On second thought, this needs better documenting. Reclassified as such. ------------------------------------------------------------------------ [2007-07-22 23:19:12] jani@php.net See above comments how to fix it. ------------------------------------------------------------------------ [2007-05-09 15:05:44] FreakTrap at gmail dot com sneakers05's modification of the Application Pool's 32-bit setting also corrected the problem I was having with the php5isapi.dll. For those of us getting the 'Calling LoadLibraryEx on ISAPI filter "C:\PHP\php5isapi.dll" failed' error after an attempted manual install: 1) *Start with a fresh IIS installation with both ISAPI filters and extensions enabled. 2) Under the main settings [at the very top of your IIS Manager's hierarchy view, above Application Pools], add the following in this order: 2.1) an ISAPI Filter for php5isapi.dll 2.2) a ISAPI and CGI Restriction entry for php5isapi.dll 2.3) a Handler Mapping for php5isapi.dll 3) Go to the application Pools section. 4) Right-click on Default Application Pool and select Advanced Settings. 5) Set the second option [Enable 32-Bit...] to True. Now everything should work... * Also, it is important that your 'Default Website' not have any unique settings from the top-level configurations. This was causing my ISS to exhibit some pretty strange behavior, which is why I recommend that you first delete your default website and create a new one. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/39163 -- Edit this bug report at http://bugs.php.net/?id=39163&edit=1

« previous php.doc.bugs (#1209) next »