PHP5 in httpd.conf

PHP5 in httpd.conf

am 11.01.2010 16:35:54 von Jos Chrispijn

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


DirectoryIndex index.php index.html index.htm



AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


regards,
Jos Chrispijn


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: PHP5 in httpd.conf

am 11.01.2010 16:40:08 von Frank Gingras

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
>
>
> DirectoryIndex index.php index.html index.htm
>

>
>
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
>

>
> regards,
> Jos Chrispijn
>
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See 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 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: PHP5 in httpd.conf

am 11.01.2010 18:34:34 von Jos Chrispijn

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 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