It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming PHP and MySQL Forum

How to install PHP on Apache?

Moderator: Malcolm

How to install PHP on Apache?

Postby gilbertsavier on Wed Aug 19, 2009 1:13 pm

Hi,
You need to add the following lines to httpd.conf (If you're using Apache for Win32)

ScriptAlias /php/" c:/path-to-php-dir/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

Then restart Apache and it should interpret php files correctly.

For more information on installing Apache with php look at the following manual page:
http://www.php.net/manual/en/install.apache.php
gilbertsavier
 
Posts: 24
Joined: Fri Jun 26, 2009 11:34 am

Who is online

Users browsing this forum: No registered users and 0 guests