Posted by Fred Atkinson on 10/10/08 11:52
On Mon, 10 Jul 2006 20:30:33 +0200, "J.O. Aho" <user@example.net>
wrote:
>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
Thanks,
Fred
Navigation:
[Reply to this message]
|