Getting phpmyadmin to work

Discussion in 'Server Operation' started by bjorno43, Oct 22, 2014.

  1. bjorno43

    bjorno43 New Member

    Ok so I've freshly installed the latest Ubuntu and followed the guide The Perfect Server – Ubuntu 14.04 (Apache2, BIND, Dovecot, ISPConfig 3).

    Everything went as expected except that PhpMyAdmin doesn't work. After doing some research myself I figured that PhpMyAdmin is installed in the default directory outside of the document root. So step by step I did the following to solve the problem:

    1) Create a symlink to PhpMyAdmin
    ln -s user/share/phpmyadmin usr/local/ispconfig/interface/web/phpmyadmin
    Result: Error 403 access denied

    2) Create alias for apache so it's allowed to access the directory
    nano etc/apache2/mods-availible/alias.conf

    Alias /phpmyadmin /usr/share/phpmyadmin
    <Directory "/usr/share/phpmyadmin">
    Order allow,deny
    Allow from all
    Result: Access granted however PhpMyAdmin index.php is simply downloaded and not executed.

    From this point I'm lost on how to solve it and finally get this to work. Could someone please help?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please undo what you did above, the run:

    a2enconf phpmyadmin
    service apache2 restart
  3. bjorno43

    bjorno43 New Member

    Thanks but that didn't work. Result:

    ERROR: Conf phpmyadmin does not exist!

    Ofcourse I did check and phpmyadmin is installed just fine.

Share This Page