Phpmyadmin unter Suphp apache2 Probleme



Karl34

New Member
OS Centos 5.7
Webserver Apache2 php unter Suphp

Habe ein Problem Phpmyadmin unter Suphp zum laufen zu bekommen.
Ich hätte es gerne das phpmyadmin für alle domains mit einem Alias erreichbar sind:
www.example.com/phpmyadmin

Problem ist das Suphp genau das macht was es soll. Phpmyadmin liegt unter /usr/share/phpmyadmin und gehört dem apache.

Wie kann ich dieses Problem elegant lösen?
danke
 
Habe jetzt die php.conf folgender massen:
Code:
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#

  LoadModule php5_module modules/libphp5.so
<Directory /usr/share/phpmyadmin>
    <IfModule mod_php5.c>
      AddType application/x-httpd-php .php .phtml .php3 .php5
      AddType application/x-httpd-php-source .phps
    </IfModule>
</Directory>
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php
Gehe ich jetzt auf example.com/phpmyadmin bietet mir der apache die index.php zum download an. application/x-httpd-php
Ich versuche phpmyadmin/squirelmail/postfixadmin quasi über mod_php ausliefern zu lassen. Nur funktioniert das nicht wirklich.
 
Back
Top