I'm trying to install Apache 2 and PHP together, and I'm having trouble making Apache actually process my PHP documents with PHP -- it simply returns them as-is with an application/x-httpd-php MIME type. I've looked around and I haven't found anything directly helpful. I guess that somehow PHP isn't getting loaded... I've added apache2 to my USE variable before merging mod_php, so libphp ends up in extramodules. 70_mod_php.conf ends up in conf/modules.d and gets included (I've gotten syntax errors on stuff I've attempted in it.)
I've added -D PHP to APACHE_OPTS in /etc/conf.d/apache2, and it seems that the LoadModule command in 70_mod_php.conf is executed. (I tried moving it outside the IfDefine and IfModule clauses, and that didn't seem to help.) I saw a mention somewhere on the net that another user had gotten rid of this problem by uncommenting and setting ServerName in apache2.conf; sounds like a longshot, and hasn't helped me. Merging and running Apache 1 and mod_php has worked just fine, so I guess this may be related to Apache 2's "non-official" status in Gentoo (being masked) -- but I'm guessing that it's just as likely that I'm doing/missing something really dumb... Any help would be greatly appreciated, - Magnus -- Magnus Lie Hetland http://hetland.org -- [EMAIL PROTECTED] mailing list
