www.websiteadministrator.com.au > > home > > articles
 
Php 5.3.3 - Php 5.3.4 - Php 5.3.5 - Php 5.3.6 Tuesday, 30th May 2017
 
installing apache 2.2
INSTALL PHP 5.3.4
 

 

Issues? This may be the best in registry cleaning business!
windows debug one

 

install php5.3 on apahce2.2

HEX Color chart
unique
font color test
tool
950 font color comparission chart

Install PHP 5.3.4 on Microsoft Windows


(php 5.3.4 Page 7 of 7)

A Self Paced PHP5 Certification Course for under $15* per month! Enroll NOW!

 

Troubleshooting PHP 5.3.4 installation:

If on re-start your Apache HTTP server 2.2.17 crashes or gives an error, you have a problem with your PHP installation. The most likely cause is a) you have have not stepped through this guide in sequence, or b) you have selected an item to be configured during PHP setup which you have not installed and yet needs installation before you can start Apache. If you are unsure, re-start the .msi installer and check that you have understood the instructions in the section Choosing PHP 5.3.4 Items.

The 5.3.3 and 5.3.5 versions of the WAS php Guides required removal of yellowed items marked with an [X] and shown in the Fig. 10 position in those tutorial guides. This did not present as an issue during our installation testing of version 5.3.4. Should you find that you continue to have this crash error during your installation, you may want to use the WAS 5.3.5 guide procedure (pages 5, 6 & 7) for your set-up.

Apache crash caused by Installing Unsupported Items.
(Fig. 13)
apache 2.2.16 server crash in PHP 5.3

 

If you have installed the Apache 2.2.x Module, check these following 4 lines are the last 4 lines in your httpd.conf file. This assumes your PHP install path was c:\PHP (This does not apply to those who selected Apache CGI from the PHP Web Server Setup section).

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/PHP/"
LoadModule php5_module "C:/PHP/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

 

Other common PHP 5.3.4 setup errors to check are;

  1. ensure you have really read the first paragraph on this page.
  2. For Vista, 2008 & 7, updating key configurations may be ignored if you have not set your permissions correctly under User Account Control (UAC). Quick tips to master the User Account Control feature is discussed in this Microsoft link: User Account Control Troubleshooting Guide for Vista, 2008, R2 & Windows 7 (includes how to disable UAC).
  3. The above also applies to your UAC settings when you installed Apache or any other program that PHP uses and needs access to alter the configuration of.
  4. if you selected Apache2.2.x Module in the Web Server Setup section, check you did not edit the apache httpd.conf config file for use as apache CGI.
  5. "You don't have permission to access YourFileName .php on this server" an Apache-Cgi Install error when httpd.conf has not been correctly edited to point to the php-cgi.exe file (refer our section: Testing PHP 5.3.4 to correct the error).
  6. "The requested URL /PHP/php-cgi.exe/ YourFileName .php was not found on this server" also only occurrs when you have installed the Apache-CGI option. See httpd.conf edits referenced in our section: Testing PHP 5.3.4 (when corrected, you may then get the error in note 7. below). Also, more on this error in the 5.3.5 guide.
  7. "You have chosen to open..." window keeps popping up after you correctly modify your httpd.conf file. Clear the browser cache and/or rename the file and call the renamed file. eg. phpinfo.php to phpinfo01.php in your browser.
  8. do you have unnecessary programs running or suffer interference from your virus checker as mentioned in the section Preliminary Steps
  9. if updating/reinstalling, did you remove all old php.ini files before starting this install as mentioned in the section Begin PHP install setup
  10. step (9.) above might also require that you Google: how to set the environment path in windows and ensure any path to PHP and PHPRC are correctly aimed at the same folder you chose in the section titled PHP Destination Folder. If you found you needed to alter any of the paths at this step, you will need to bookmark this page and re-start Windows before re-testing Apache and proceeding further.
  11. XP users must have Service Pack 3 installed (refer: Preliminary Steps). Microsoft ended support for Windows XP SP2 & Windows Vista (with no SP) ended April 2010. New SP packs probably include the MS Genuine Advantage check.
  12. you can also check your apache error log in case another problem has presented itself (refer to WAS Install Guides Apache 2.2 - linked above).
  13. if you find your self re-starting and using the .msi installer often, don't forget to occasionally check if the apache httpd.conf file needs cleaning. Though the auto installer is self-cleaning, it slips sometimes and can leave a few too many #PHP INSTALLER EDITS remarks. Only the last pair is valid, you can remove the rest. If you do this and are using Apache CGI, repeat the Manual Edit Steps.
  14. is the error really Php? Check by removing all PHP additions (edits) in your httpd.conf and re-start Apache. If you installed php as a module, it is the last four lines in the .conf file only. When apache starts with out error, step through this tutorial again.

Training
If you have no previous formal PHP or MySQL training and would like to attain some solid Web Developer skills, i'd like to give a plug to this inexpensive self paced study course on basics as well as some advanced uses of PHP and MySQL with popular servers. Also available are some unique advanced courses on Ethical Hacking and other Security courses which would be of interest to the technical minded.

Adding gzip compression to .html files
Trouble adding gzip compression to your web pages? You may want to review this php gzip technique for stubborn website hosts from our article archives.

 

Apache and Php :

If you are new to Apache and Php, you may want to review our apache install tutorial to ensure you understand the extra basics of testing and configuring apache. The steps on changing the document root will not effect your PHP configuration.

Before you start acting like this, follow the link!
head banging computer issues

Always restart Apache after configuration changes

After you have completed any edit that effects the Apache configuration, you need to restart the apache service for the changes to take effect. This includes any changes to your Php configuration made while using the Php .msi Windows Installer.

 

Module Completion

If you are confident with what you have learned here, then you have also gained a couple of very basic entry level skills in mastering your PHP Software. Pat your self on the back, you have completed this course module.

 

Formal Recognition

We offer excellent access to some great courses for formal recognition. Check out the courses selections from the home page.

Module Length:

  • 1 Hour

Pre-requisites:

The website administrator has previously attained the following computer skills:

  • Ability to install and configure Apache HTTP Server 2.2.x
  • Ability to download an installation file and execute it.
  • Ability to edit a plain text file (eg. use notepad).
  • Ability to rename a folder or directory using either Windows Explorer or My Computer.

Applicable OS Platforms :

  • Windows 7
  • Windows 2008
  • Windows Vista
  • Windows 2003
  • Windows XP (SP3)

Hardware-requisites:

  • x86 family processor - All (eg. Intel, AMD)
  • x64 (VC9 only) experimental release available only (VC9 x64)

Share this PHP 5.3.4 Tutorial with your Friends:

 
Share this Study Guide by
 
 
e-mail this page link to Selected Friends & Colleagues
 
 

Valid XHTML 1.0 Strict Valid CSS!

Copyright © 2010
Website Administration Services
 
 
Module created by: Steve Campisi
(Graduate of the Australian Nationally Accredited Certificate IV in Training and Assessment course. Formal certificate for formal Training and Assessing in Australia.)

Header Photo Credit: Glenn Grant, National Science Foundation


 
 
 
 

 
 
 
 
 
 
 
 
   

 
 
 
 
 
 
 
 

Many Website Hosting companies offer Apache HTTP server, PHP and MySQL as a default website configuration as this trio make for a robust website backbone which is one of the most popular website setups today.

With Apache HTTP Server powering over 120 million Webservers world-wide today and thanks to Apache and other developers, Windows users can now run this triumvirate of must have server software on their Windows computers.