httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Gingras <francois.ging...@gmail.com>
Subject Re: [users@httpd] PHP5 in httpd.conf
Date Mon, 11 Jan 2010 15:40:08 GMT


Jos Chrispijn wrote:
> Recently migrated from Apache 1.3.x to Apache 2.2.x
> 
> What I knew from 1.3.x is that I had to add some extra lines in the 
> httpd.conf, in order to have PHP5 working.
> As it is now working without problems, can someone tell my why in 
> httpd.conf doesn't include this anymore
> 
> <IfModule php5_module>
>          DirectoryIndex index.php index.html index.htm
> </IfModule>
> 
> <IfModule php5_module>
>         AddType application/x-httpd-php .php
>         AddType application/x-httpd-php-source .phps
> </IfModule>
> 
> regards,
> Jos Chrispijn
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

Jos,

The rules have changed. See:

http://www.php.net/manual/en/install.unix.apache2.php

AddType was the appropriate method to do so in 1997.

Frank

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message