Posted by J.O. Aho on 10/10/47 11:39
Fred Atkinson wrote:
> Can someone tell me how to configure Apache 1.3 for PHP 4?
> Hopefully, there is a Web page that will describe the step by step
> edit of httpd.conf to do this.
>
> Also, the information on how to configure Apache 1.3 for PHP
> 5 and for Apache 2.0 to be configured for PHP 4 and 5 would be good to
> get as well.
For apache with php4, for php5 switch the '4' to '5' in the LoadModule line
LoadModule php4_module modules/libphp4.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-source .phps
AddDirectoryIndex index.php index.php3 index.php4 index.phps index.phtml
Navigation:
[Reply to this message]
|