Setting up PHP in Windows 2003 Server IIS7, and WinXP 64

By: Fernando Emailed: 1784 times Printed: 2623 times    

Set IIS to allow 32-bits if you are on 64-bits cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1 Set enviroment variables PATH to, say, C:\php\ PHPRC to, that same dir Go to Web Service Extensions: Add a new extension... Name it for example php, and point it to the php5isapi.dll. Set status to Allowed. Right click Web Sites: On the tab, ISAPI Filters, name it for example php, and point it to the php5isapi.dll Then go to Home directory tab: Click Configuration On Mappings, click add: Executable would be: php5isapi.dll Extension to: .php Click OK, then OK. Then on the tab Documents click Add: and add there what you want to load as default, say index.php Then stop, and start IIS. This worked for me on a Windows 2003 Server, and WinXP 64.

Most Viewed Articles (in PHP )

Latest Articles (in PHP)

Comment on this tutorial