minitutorials main logo the place to learn online

Sponsor This Site!
Sponsorship Details - miniTutorials is taking enquiries into various Sponsorship opportunities. Available NOW! Read More on our Sponsorship page.
This Page Sponsored by :
Proudly Sponsored by Your Company name here!
miniTutorials Sponsorship
Donate!
Consider donating to keep this site alive and up to date. Click on the Donate button to go straight to PayPal site and make a donation of an amount you choose.


More information on where the money goes on the Donations page.
Discussion Forums
visit the mini tutorial forums
For expert help and advice on any of our Tutorials or anything else .... visit the forums and ask away!!
Google Ads
My Profile

Details about the owner of this site can be found at :-

ohloh profile
View Gavin McDonald's profile on LinkedIn
Powered by a
UK2 Dedicated Server

Apache Web Server.

Installing and configuring PHP 5

Intermediate Level

Installing and configuring PHP 5


Steps 3 & 4 - Configure PHP 5 for Apache2 & vice-versa


Step 3 - Configure PHP 5 for Apache2

Edit php.ini in notepad and scroll down to the 'Paths and Directories' section.

Save and Close php.ini.

Step 4 - Configure Apache2 for PHP 5

--------------
In Section 1 : Global Environment.

Locate #ExtendedStatus On and just below it add :-

LoadModule php5_module "c:/Apache2/php5/php5apache2.dll" AddType application/x-httpd-php .php # configure the path to php.ini PHPIniDir "C:/Apache2/php5"

The rest of 'httpd.conf' should be ok if the earlier tut was followed, so Save and Close this file then 'Stop and Start' the Apache Server service. (A soft start called a 're-start' differs slightly in operation from Stop/Start in regards to the Apache Server and I have had problems with it in the past so don't recommend it until all bugs are squashed!)

Ok, so lets get testing!

left arrow depicting to go back Back to Download & Install PHP 5 | Forward to Testing your Installation right arrow depicting to go forward


tutorial sponsors logo

About Us | Site Map | Privacy Policy | Contact Us | ©2002 - 2007 miniTutorials.com