- 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.:
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\
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.
- Installing Apache on Vista
Following the purchase of a spangly new Toshiba laptop running Vista, and not one for making life simple, I decided not to run my development environment on IIS7, but rather, I wanted to install the latest version of Apache. The installation process was not a trivial matter!
- Installing ColdFusion 8 on Vista
A few months ago I posted an article on Installing Apache on Vista, and it proved to be extremely popular. It appears that I was not the only one who found it a non trivial matter.
Now it is the turn of ColdFusion 8. ColdFusion 8 as we well know is the latest and greatest incarnation of the ColdFusion platform from Adobe. It has a lot of great new features such as cfimage, cfzip, cfexchange, some contentious features such as cfthread and cfinterface, and some not-so-necessarily-cool new â€œWeb 2.0â€³ features such as cffeed and cfajax.
- Configuring PHP with Apache on Windows Vista
Installing PHP with Apache on Windows Vista is a relatively simple task until you try an configure the settings in php.ini. Problems can occur and stem from the fact that when you install PHP and edit the php.ini file, you need to not only be logged in as Administrator, but run the installer and Notepad text editor as Administrator. The php.ini file also needs to be located in the Windows directory.