On Tue, 21 Aug 2007 12:48:48 +0200, Hans-Werner Hilse wrote:

> Hi,
> 
> On Tue, 21 Aug 2007 06:09:48 +0000 (UTC) Thufir <[EMAIL PROTECTED]>
> wrote:
> 
>> > Did you read my earlier post?
>> > 
>> > rewrite that line to APACHE2_OPTS="-D DEFAULT_VHOST -D PHP5" and
>> > restart apache.
>> 
>> Pardon, I may have been distracted, but I think I changed that entry
>> several times.  I tried a couple variations, and restarted apache and
>> for good measure mysql.  The above variation still shows text files for
>> .php files.
> 
> Does /etc/apache2/httpd.conf still contain the line "Include
> /etc/apache2/modules.d/*.conf" ?

Yes, on line 381.

> Is /etc/apache2/modules.d/*_mod_php.conf present? In that file you can
> see the exact flag you have to specify.

Hmm, that php.conf file is missing.

localhost ~ # 
localhost ~ # php -ver
PHP 5.2.2-pl1-gentoo (cli) (built: Aug 15 2007 01:38:17) 
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
localhost ~ # 
localhost ~ # ll /etc/apache2/modules.d/
total 24
-rw-r--r-- 1 root root  192 Jul 29 00:51 20_mod_fcgid.conf
-rw-r--r-- 1 root root 2980 Aug 15 02:34 40_mod_ssl.conf
-rw-r--r-- 1 root root 8151 Aug 15 02:34 41_mod_ssl.default-vhost.conf
-rw-r--r-- 1 root root  583 Aug 15 02:34 45_mod_dav.conf
-rw-r--r-- 1 root root  892 Aug 15 02:34 46_mod_ldap.conf
localhost ~ # 
localhost ~ # date
Tue Aug 21 08:19:58 PDT 2007
localhost ~ # 


> If you decided to drop the Gentoo configuration style for apache, then
> you'll have to provide a *lot* more information about your Apache's
> configuration than you did.

I enabled a few use flags with ufed, and did emerged mysql, apache and 
phpmyadmin; that's about it.


> BTW, the errors you cited indicate you might be running suexec. What
> for? How configured? Did you follow a certain guide?
> 
> -hwh


I thought I once saw a phpmyadmin guide for gentoo, but have been unable 
to relocate it.  From a cursory look at suexec it's not something I would 
intentionally be using.

I believe the following will indicate that suexec isn't being used?

localhost ~ # 
localhost ~ # ll /usr/local/    
total 24
drwxr-xr-x 2 root root 4096 Jul 26 02:45 bin
drwxr-xr-x 2 root root 4096 Jul 26 02:45 games
drwxr-xr-x 2 root root 4096 Jul 26 02:45 lib
drwxr-xr-x 2 root root 4096 Jul 26 02:45 sbin
drwxr-xr-x 4 root root 4096 Jul 26 02:45 share
drwxr-xr-x 2 root root 4096 Jul 26 02:45 src
localhost ~ # 
localhost ~ # ll /usr/local/bin/
total 0
localhost ~ # 
localhost ~ # ll /usr/local/src/   
total 0
localhost ~ # 
localhost ~ # date
Tue Aug 21 08:27:11 PDT 2007
localhost ~ # 


thanks,

Thufir


-- 
[EMAIL PROTECTED] mailing list

Reply via email to