View Full Version : Howto: Install PHP on Windows server

07-25-2006, 07:25 AM
This how to will help you in installing php on windows server:

1) Download latest version of PHP from www.php.net
2) Unzip contents to c:\php
3) Copy all files from c:\phpdlls to c:\windows\system32
4) Copy all files from c:phpsapi to c:\windows\system32
5) Copy c:phpphp.ini to c:\windows\php.ini

6) Open IIS, and add a "Web Service Extension"
7) Call the extension "PHP"
8) set the path as c:windowssystem32php4isapi.dll
9) set the status to "allow"
10) Right click the "Web Sites" folder, and select properties
11) On the "Home Directory" tab, select "Configuration"
12) Click "Add", then browse to c:\windows\system32\php4\isapi.dll, set the extension as .php, and deselect "Verify that the file exists".
13) Click Okay
14) Apply the setting to all sites.
15) Restart IIS

08-20-2006, 07:51 PM
thanks for sharing mate .

09-06-2006, 09:04 AM
Actually they have installers for PHP on windows. Also there are bundled packages of apache+mysql+php on windows. Lot easier for non technical people.

10-09-2006, 07:22 AM
I generally avoid running PHP as an ISAPI. Running PHP by pointing to PHP.EXE does have some minor performance degradation, but it has always helped me avoid issues with the ISAPI and never crashed or failed.

10-12-2006, 05:40 AM
Thanks, i might need this :D