Posted by J.O. Aho on 10/10/33 11:52
Fred Atkinson wrote:
> Can anyone tell me how to configure Apache 2.0 to run PHP 5.0?
Add the following to your httpd.conf/apache.conf
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php5
AddType application/x-httpd-php .php~
AddType application/x-httpd-php-source .phps
AddDirectoryIndex index.php index.phtml
Restart apache and you will have php5.
//Aho
Navigation:
[Reply to this message]
|