(php 5.3.6 Page 3 of 7)
A Self Paced PHP5 Certification Course for under $15* per month! Enroll NOW!
Begin the installation:
Start the file you have downloaded (php-5.3.6-Win32-VC6-x86.msi or php-5.3.6-nts-Win32-VC6-x86.msi) with a double click or right click/run and begin the Installation Wizard. This guide then walks us through the PHP 5.3.6 installation procedure.
Once installed, the website administrator can re-start the .msi file to have the wizard modify or repair various sections of his PHP 5.3.6 installation. The opening window appears with a different menu selection and asks for your purose in that senario. We are installing, so we use these next installation windows.
First, the wizard starts with the following welcome screen (Fig. 01) to read before selecting next.
Starting the PHP 5.3.6 installation wizard
Hint: If you are re-installing or have previously removed an older version of PHP, it is a good idea to check for and remove and even backup any old php.ini files lingering on your computer system. Uninstall or deletion doesn't always remove these files. Newer operating systems may need to check the hidden folder C:\ProgramData for remnants of previous installations. Use your file search program to locate all instances of php.ini before you go further. The savvy website administrator will backup these up by saving the files elsewhere in the case they become needed for future reference to old configuration data of various add-ons etc. There is also a chance old php.ini files will interfere with this installation if not relocated or deleted.
Accepting the License Agreement:
Our second window loads the License agreement into the viewing panel (Fig. 02). Use the scroll bar provided to view the entire contents of the agreement. We also find here that PHP now includes the Zend Engine and gives us a link to the Zend website.
PHP 5.3.6 End-User License Agreement Screen
Check over the other details to ensure you are happy and willing to comply with the conditions for use as laid out to use this software. If all is acceptable, select and tick the box in front of the phase I accept the terms in the license agreement and then choose next to continue the installation process.
The PHP 5.3.6 Destination Folder:
Our next window in the installation process (Fig. 03) is to select the directory or folder location to install our PHP files.
C:\Program Files\PHP\ is the default directory path given however, the more informed of Website Administrator will use simply C:\PHP\ as the install location. It is a highly recommended to alter your path to this same location.
Destination Folder for PHP 5.3.6
There are several arguments in favor of altering the default install path, the most popular being that we remove the possibility of any future incompatibility issue that can arise from any PHP add-on software / binaries etc. that do not correctly address the "space" in the directory path name of "Program Files". (Many add-ons are coded first for Unix/Linux using the underscore character to show any space in a file or directory name. The "space" is more of an Ms Windows thing.). You can also select the "browse" button to navigate to a different location or simply type a preferred location over the install path offered.
Note: The remainder of this tutorial is going to assume you have modified your install path to simply read C:\PHP\ as shown in Fig. 03. When satisfied with this step, select "next".
Also note: this path can be "case" sensitive for Apache. To avoid possibility of a configuration error, ensure the correct "case" is in use after installation has finished altering Apache's hpptd.conf file (eg. all upper case or all lower case). This also applies to any changes you may make to Apache's .conf file.
The Windows .msi installer will add this location to the Windows environment path.