How to install PHP on Apache?
Hi,
You need to add the following lines to httpd.conf (If you're using Apache for Win*2)
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:
How to install PHP on Apache
Im having trouble with re-designing my .php page for automatic creation. Anyone have a nice guide on strings to use to make it look prettier?
How to install PHP on Apache
Ok, Im not sure if this belongs in Operating Systems or programming so if this is in the wrong forums move it please, I am trying ot install PHP 5.0.2 and APACHE 2 on Yoper Linux, I downloaded them, and everything else, edited the httpd.conf file, but when I try to put htis in: /usr/local/apache2/bin/apachectl start
I get this error: httpd: Could not determine the servers fully qualified domain name, using *27.0.0.* for ServerName
What can I do to get rid of that error?