RE: [PHP] Apache problem:PHP will not execute
| From: | PHPSpooky | Date: | Mon, 26 May 2003 15:41:16 +0000 |
| Subject: | RE: [PHP] Apache problem:PHP will not execute | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-148990@lists.php.net to get a copy of this message | ||
Glory!
Depending upon your path and PHP (CGI or Binary), edit your httpd.conf
file in your Apache2/conf directory..
Load the php4 module.. by inserting this line in the .conf file. search
for the place where they have loaded all other modules and add this..
LoadModule php4_module c:/php/sapi/php4apache2.dll
Search again in the same .conf file for the place where they have added
types of application, and add this..
AddType application/x-httpd-php .php .php3 .php4
This gives you the benefit of running .php, .php3 and .php4 scripts on
your Apache Server.
PHPSpooky
______________________________________
"If God had wanted me otherwise, He would have created me otherwise."
- Johann Wolfgang von Goethe