You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jos Chrispijn <ap...@webrz.net> on 2010/01/11 16:35:54 UTC

[users@httpd] PHP5 in httpd.conf

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


Re: [users@httpd] PHP5 in httpd.conf

Posted by Jos Chrispijn <ap...@webrz.net>.
Frank,

On 11-1-2010 16:40, Frank Gingras wrote:
> 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.
I see; thanks for your information, will have a look!

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


Re: [users@httpd] PHP5 in httpd.conf

Posted by Frank Gingras <fr...@gmail.com>.

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