How do I get Phpmyadmin to work with Nginx and Ubuntu?

Viewed 20526

I'm using Ubuntu 11.04 and Nginx.

I want to install phpmyadmin and have access to it on mydomain.com/phpmyadmin.

I've looked around and I see some ways to get it to work, but not in the way mentioned above. I'm sure it's simple to do, but I'm a complete server noob atm.

Edit:

Nevermind, I found out an easy way to do it.

I just created a symbolic link from my phpmyadmin folder into my public web folder. I did this before but I didn't clear the cache so I thought it didn't work.

For Ubuntu 11.04 users with the default nginx file path, here are the steps:

1) ln -sf /usr/share/phpmyadmin /usr/share/nginx/www

2) /etc/init.d/nginx restart

3) delete your browser cache

1 Answers
Related