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 .2.x-dev snapshot

Intermediate Level

Installing and configuring PHP 5.2-dev


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


Step 3 - Configure PHP 5.2-dev for Apache 2.2.2

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

Save and Close php.ini.

Step 4 - Configure Apache 2.2.2 for PHP 5.2-dev

--------------
Edit your Apache config file 'httpd.conf'

Locate all the LoadModule entries near the top of the file and just below them add :-

# For PHP 5 do something like this:
LoadModule php5_module "d:/PHP5/php5apache2_2.dll"
# configure the path to php.ini
PHPIniDir "D:/PHP5"
AddType application/x-httpd-php .php

Ensure the path to the php5apache2_2.dll and to the PHP directory reflect your setup, not neccessarily what I have above. Note that the dll we want here is called php5apache2_2.dll and not the php5apache2.dll that earlier versions of PHP came with.

The rest of 'httpd.conf' should be ok if the earlier tut was followed, so Save and Close this file then 'Stop and Start' or 'Restart' the Apache Server service.

Ok, so lets get testing!

left arrow depicting to go back Back to Download & Install PHP 5.2 | 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