You are here: Re: Configuring PHP « All PHP « IT news, forums, messages
Re: Configuring PHP

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация