http://bugs.gentoo.org/show_bug.cgi?id=77556

You need the masked dev-php/mod_php-5.0.3-r1

On Fri, 2005-03-04 at 20:10 +1300, Ash Varma wrote:
> Hi.
> 
> I have been using apache-2.0.52-r2 and PHP5 for a while... Recently
> upgraded to apache-2.0.52-r3 and moved all the configs to the httpd.conf
> 
> However, I cannot get PHP5 to work... All browsers try to download the
> file, rather than display it...
> 
> What could be wrong? I have included what I think are the relant
> sections of my config files... Any pointers / help very much
> appreciated.
> 
> 
> ----- /etc/apache2/httpd.conf----------------------
> Include conf/modules.d/*.conf
> ---------------------------------------------------
> 
> 
> ----- /etc/conf.d/apache2 -------------------------
> APACHE2_OPTS="-D PHP5 -D SSL -D DOC"
> ---------------------------------------------------
> 
> 
> ----- /etc/apache2/modules.d/70_mod_php5.conf -----
> <IfDefine PHP5>
>         # Load the module first
>         <IfModule !sapi_apache2.c>
>                 LoadModule php5_module  modules/libphp5.so
>         </IfModule>
>         
>         # Set it to handle the files
>         <IfModule mod_mime.c>
>                 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 .php5
>                 AddType application/x-httpd-php-source .phps
>         </IfModule>
> </IfDefine>
> ---------------------------------------------------
> 
> 
> 
> 
-- 
Ivan Yosifov.

--
gentoo-user@gentoo.org mailing list

Reply via email to