- Download the current version of PHP from http://www.php.net/downloads.php. Get the Windows installer (in my case version 5.2.5).
- Uninstall any previous versions of PHP. Delete any extraneous remaining directories.
- Disable antivirus and firewall software.
- Disable Windows Defender.
- Disable User Account Control (UAC).
-
Use the command prompt to manually run the PHP installer. Go to All Programs > Accessories Right-click “Command Prompt” and select “Run as Administrator”.
Browse to the location of the PHP install file e.g.:
C:\Users\Simon\Desktop\
-
In the command prompt type:
C:\Users\Simon\Desktop\msiexec /i php-5.2.5-win32-installer.msi
And hit the [Enter] button.
-
The installer should start and you should see the screenshot below. Click “Next”.

-
Read and accept the terms of the license agreement and click “Next”.

-
Choose your install folder and click “Next”.

-
Choose the web server you wish to setup. In my case I will be using Apache 2.2.x. Click “Next”.

-
Browse to the Apache Configuration Directory. In my case this is:
C:\Program Files\Apache Software Foundation\Apache2.2\conf\
Click “Next”.

-
Choose the items to install. In my case I have chosen to install all items. Click “Next”.

-
PHP is now ready to install.

-
The installation is now complete. The next task is to configure PHP.

Tags: Apache, installing, PHP, problems, solutions, Vista, windows




















2 comments
Comments feed for this article
Trackback link
http://www.simonwhatley.co.uk/installing-php-with-apache-on-windows-vista/trackback
20th February 2008 at 5:56 pm
Pingback from 2idea-在å˜åŒ–ä¸ç»§ç»å‘å‰ » Installing ColdFusion 8 on Vista
6th October 2008 at 11:08 pm
Pingback from gcfrench: Installation