Phpmyadmin and ispconfig 3

Discussion in 'Installation/Configuration' started by cubells, Apr 12, 2011.

  1. cubells

    cubells Member HowtoForge Supporter

    Hi:

    ISPConfig 3.0.3.2
    Debian Squeeze
    I've installed ispconfig 3 by following the perfect server howto.

    When I want to open phpmyadmin, I ALWAYS get a file.

    My browser says:

    [​IMG]


    What's the problem?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Does other php pages in the ame website that you used to access phpmyadmin work properly?
     
  3. cubells

    cubells Member HowtoForge Supporter

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Edit the file /etc/apache2/mods-enabled/suphp.conf and add a # in front of these two lines, so that they lokk like this:

    #AddType application/x-httpd-suphp .php .php3 .php4 .php5 .phtml
    #suPHP_AddHandler application/x-httpd-suphp

    and restart apache.
     
  5. cubells

    cubells Member HowtoForge Supporter


    Did it and I have a similar problem:

    http://prieto-accesorios.info/phpmyadmin

    Do you need some information about my configuration server?

    Cheers.
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Does /etc/apache2/conf.d/phpmyadmin.conf exist, and is it a symlink to /etc/phpmyadmin/apache.conf?

    Code:
    server1:~# ls -l /etc/apache2/conf.d/
    total 12
    -rw-r--r-- 1 root root  237 Jul  8  2010 apache2-doc
    -rw-r--r-- 1 root root  269 Jul  8  2010 charset
    lrwxrwxrwx 1 root root   28 Aug 21  2010 phpmyadmin.conf -> ../../phpmyadmin/apache.conf
    -rw-r--r-- 1 root root 1464 Jul  8  2010 security
    lrwxrwxrwx 1 root root   30 Jan 14 17:22 squirrelmail.conf -> ../../squirrelmail/apache.conf
    server1:~#
     
  7. cubells

    cubells Member HowtoForge Supporter

    Yes, it does.

    In my case:

    Code:
    [email protected]:~# ls -l /etc/apache2/conf.d/
    total 20
    -rw-r--r-- 1 root root  237  1 gen 21:58 apache2-doc
    -rw-r--r-- 1 root root  269  1 gen 21:57 charset
    -rw-r--r-- 1 root root 3296  1 gen 21:57 localized-error-pages
    -rw-r--r-- 1 root root  143  1 gen 21:57 other-vhosts-access-log
    lrwxrwxrwx 1 root root   28 17 feb 21:55 phpmyadmin.conf -> ../../phpmyadmin/apache.conf
    -rw-r--r-- 1 root root 1424  1 gen 21:57 security
    lrwxrwxrwx 1 root root   30 17 feb 22:22 squirrelmail.conf -> ../../squirrelmail/apache.conf
     
  8. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/phpmyadmin/apache.conf?
     
  9. reason8

    reason8 Member

    I am having this issue as well but I am running ISPConfig 3 and openSUSE 12.2 x64.

    I have followed The Perfect Server documentation and have tried to reinstall php but with no success. It is prompting me to download the file.

    Not sure why.
     

Share This Page