fire-eyes wrote:

>On Sat, 2005-06-18 at 13:24 -0400, Michael Haan wrote:
>  
>
>>Apache2 is trying to download php files, not run them.  What gives?
>>    
>>
>
>You need to set the types up in apache's config. I haven't done this in
>a while so I don't quite remember. That and the way apache is configured
>in gentoo has changed wildly recently, so my guess is I couldn't help
>anyway.
>
>I'm sure someone here knows, you also may want to check the
>gentoo-server and gentoo-web-user mailing lists.
>
>  
>
First look at /etc/conf.d/apache2 and make sure you have something like
APACHE2_OPTS="-D PHP"

Then restart apache
/etc/init.d/apache2 restart

If that still does not work, try editing
/etc/apache2/modules.d/xx_mod_php.conf
and comment out all the <IfDefine> and <IfModule> tags then restart apache.

HTH
Craig

-- 
gentoo-user@gentoo.org mailing list

Reply via email to