ID: 33606 Comment by: cryotek at elektro-statik dot co dot uk Reported By: fordgt90concept at hotmail dot com Status: Open Bug Type: Documentation problem Operating System: Windows XP Professional x64 Edit PHP Version: 5.0.4 New Comment:
I can confirm that this is an issue (I have just upgraded to Windows Server R2 x64 and installed php 5.2.1) and this solution does work. I built the batch file version. Previous Comments: ------------------------------------------------------------------------ [2007-03-01 18:50:00] fordgt90concept at hotmail dot com If using the Windows "Run" dialog doesn't work. Navigate to the location of "ADSUTIL.VBS" on your computer (Default: C:\Inetpud\AdminScripts) and create a batch file with the following line: CSCRIPT ADSUTIL.VBS SET W3SVC/AppPools/Enable32bitAppOnWin64 1 Save the batch file and run it to correct the issue with IIS failing to run 32-bit applications. ------------------------------------------------------------------------ [2007-02-14 11:05:10] [EMAIL PROTECTED] Reclassified as docu problem. ------------------------------------------------------------------------ [2007-02-14 09:09:47] fordgt90concept at hotmail dot com I am reopening this because I have since received five emails from people saying this fix worked. The problem is PHP does not have a 64-bit binary and as time passes, more people are/will be using 64-bit environments. I again request that issue be resolved. At bare minimum, add it to the manual for installing PHP on IIS. ------------------------------------------------------------------------ [2005-08-08 15:36:28] fordgt90concept at hotmail dot com Some friendly person contacted me after seeing this article and told me how to correct it. The issue is indeed caused by IIS attempting to run php5isapi.dll with 64-bit extensions which would of course lead to failure. I corrected this by entering the following into the Windows Run dialog: cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1 If you people could kindly add a comment about installing PHP on the Windows 64-bi environment, it could potentially help many people. ------------------------------------------------------------------------ [2005-07-07 19:24:02] fordgt90concept at hotmail dot com IIS complaining that php5isapi.dll is not a valid w32 application is an issue with PHP. Since PHP fails to start, ISAPI filters show it as "Not Loaded." I don't know if that is because I'm one of the few running x64 Edition, if it is because 5.0.4 has a flaw in it, or a combination of 5.0.4's inability to operate on Windows XP Professional x64 Edition. I will try the latest PHP 4 release to see if that resolves the issue but I somehow doubt it will. ------------------------------------------------------------------------ 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/33606 -- Edit this bug report at http://bugs.php.net/?id=33606&edit=1