How to install phpmyadmin on lighttpd server?

Discussion in 'Installation/Configuration' started by dealspiggy, Aug 25, 2008.

  1. dealspiggy

    dealspiggy New Member

    I have installed phpmyadmin in /var/www/html and set the alias in lighttpd.conf /phpmyadmin/ to point to /var/www/html/phpmyadmin. However, when I try to access phpmyadmin by, I get 404-Not Found error.

    I wonder if anyone here is able to make phpmyadmin work on lighttpd?

  2. falko

    falko Super Moderator ISPConfig Developer

    If your document root is /var/www/html, and PHPMyAdmin is installed in phpmyadmin/, then you don't need an alias pointing from phpmyadmin to phpmyadmin.
  3. ideamonk

    ideamonk New Member

    I got it working on Debian lenny,

    I have phpmyadmin at its default location - /usr/share/phpmyadmin/
    and an alias of /pma/ to /usr/share/phpmyadmin/

    It didn't work, so,

    All I had to do was to change file ownerships to get it working,
    lighthttpd usually works under a user 'www-data' and the default install gave ownership and group id of root to the files in /usr/share/phpmyadmin/

    So just try giving a "sudo chown -R root:www-data ." in your phpmyadmin installation location.

    Worked for me.
    Last edited: Sep 17, 2010

Share This Page