phpMyAdmin, lighttpd and Fedora 9

November 9, 2008

yum install mysql-server lighttpd php php-mysql phpMyAdmin
This puts the phpMyAdmin install in
/usr/share/phpMyAdmin
.
Add a new configuration file called
/etc/lighttpd/lighttpd-phpMyAdmin.conf
:
# server.bind = “phpmyadmin.example.com” # If there isn’t a server.bind already
# Ensure the modules we need are loaded inserver.modules += ( “mod_cgi” )# server.modules += ( “mod_alias”, “mod_cgi” )
$HTTP["host"] == “phpmyadmin.example.com” { [...]

Comments Off