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

By: Fernando  

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.

Archived Comments

Most Viewed Articles (in PHP )

Error: Length parameter must be greater than 0


Where does the PHP run?

PHP 5.1.4 INSTALLATION on Solaris 9 (Sparc)

Building PHP 5.x with Apache2 on SuSE Professional 9.1/9.2

Installing PHP 5.x with Apache 2.x on HP UX 11i and configuring PHP 5.x with Oracle 9i

Cannot load /usr/local/apache/libexec/ into server:

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

error: "Service Unavailable" after installing PHP to a Windows XP x64 Pro

Running different websites on different versions of PHP in Windows 2003 & IIS6 platform

Function to return number of digits of an integer in PHP

Function to sort array by elements and count of element in PHP

Function to force strict boolean values in PHP

Function to convert strings to strict booleans in PHP

Convert IP address to integer and back to IP address in PHP

Latest Articles (in PHP)

Comment on this tutorial