On Friday 01 April 2011 13:57:49 Peter Humphrey wrote:
> Hello list,
> 
> I want a box on my LAN to be a local web and database server. I've
> installed Apache, MySQL, PHP and phpmyadmin and I'm about to get
> phpmyadmin going. The problem is that Apache is displaying the contents of
> php files instead of interpreting them.
> 
> What have I missed? I have USE="apache2 php" in make.conf and
> APACHE2_OPTS="-D PHP" in /etc/conf.d/apache2.
> 
> (Why is it so hard to get a web server going in Gentoo? I remember having
> the same difficulty 18 months ago; it'd be good to be able to remember
> what I did. This is the one area I've found where the Gentoo documentation
> is weak - well, nonexistent actually. We ought to have an idiot's guide to
> getting started, at least.)

I have APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D PHP5"

you should try at least language and php5 !

Don't know actually if it will help !

-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to