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

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]


Удаленная работа для программистов  •  Как заработать на 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

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