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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: PHP5 in httpd.conf
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 [at] httpd.apache.org
> " from the digest: users-digest-unsubscribe [at] httpd.apache.org
> For additional commands, e-mail: users-help [at] 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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: PHP5 in httpd.conf
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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org