Running phpmyadmin and suphp
Posted
by
thor
on Server Fault
See other posts from Server Fault
or by thor
Published on 2010-12-13T07:02:22Z
Indexed on
2011/01/03
11:55 UTC
Read the original article
Hit count: 356
I have a Debian Lenny web server. It is running apache2 with libapache2-mod-suphp. Unfortunately, suphp makes impossible to use phpmyadmin, as phpmyadmin is installed in /usr/share/phpmyadmin and owned by root, and suphp disables it's enging in this direcory:
$ cat /etc/apache2/mods-enabled/suphp.conf
<IfModule mod_suphp.c>
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
suPHP_AddHandler application/x-httpd-php
<Directory />
suPHP_Engine on
</Directory>
# By default, disable suPHP for debian packaged web applications as files
# are owned by root and cannot be executed by suPHP because of min_uid.
<Directory /usr/share>
suPHP_Engine off
</Directory>
</IfModule>
Is there a possibility to enable system phpmyadmin (may be through standard libapache2-mod-php5) while using suphp? How?
© Server Fault or respective owner