#33606 [NEW]: IIS does not recognize php5isapi.dll as a valid w32 application.

From: Date: Thu, 07 Jul 2005 14:38:27 +0000
Subject: #33606 [NEW]: IIS does not recognize php5isapi.dll as a valid w32 application.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-81534@lists.php.net to get a copy of this message
From: fordgt90concept at hotmail dot com Operating system: Windows XP Professional x64 Edit PHP version: 5.0.4 PHP Bug Type: IIS related Bug description: IIS does not recognize php5isapi.dll as a valid w32 application. Description: ------------ I have followed your guide and a two other 3rd party guides to install PHP 5 on Windows Server 2003 (Windows XP x64 Edition's big brethren) and both of them ended with all PHP files I tried to load returning a 500 Internal Server Error. Once I figured out how to turn off friendly errors in Internet Explorer, I discovered it was producing the error "%1 is not a valid Win32 application." Knowing that IIS itself was all fine and dandy (opens public HTML documents fine), I looked to find what should really be in place of that %1. After about 30 minutes of trying to find an explaination online, I dedcided to try to isolate this as indeed being a PHP problem. I went back into Web Sites Properties, Home Directory Tab, and took the .php configuration out under Configuration (file path was C:\PHP\php5isapi.dll). When I do this, the PHP pages just hang when I try to access them but it does manage to change the title of the page to "Cannot find server." Here is my test html page (only available if my computer is on obviously) which should just say "HTML and network settings are fine!": http://67.138.134.169/index.html Here is a test PHP file that should echo "It works!": http://67.138.134.169/index.php At the time of sending this, the PHP extension is configured in IIS. Only changes in php.ini (copied from the recommended included in the zip) doc_root = "c:\Inetpub\wwwroot" extension_dir = "C:\PHP\ext" cgi.force_redirect = 0 All extension= lines are commented out. -- Edit bug report at http://bugs.php.net/?id=33606&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33606&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33606&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33606&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33606&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33606&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33606&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33606&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33606&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33606&r=support Expected behavior: http://bugs.php.net/fix.php?id=33606&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33606&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33606&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33606&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33606&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33606&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33606&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33606&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33606&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33606&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33606&r=mysqlcfg

« previous php.bugs (#81534) next »