We need to know what "doesn't work" means - error messages, behavior, what you're seeing - all that good stuff!
Jul 7, 2015
23
Level 7
phpMyAdmin on Forge
Hello,
I am trying to setup a phpMyAdmin to work on Forge; however, it doesn't seem to work. I've tried to set it up as a normal LEMP, but it's not working. Is there anything specific that I need to do for forge?
I've already googled, but there's no answers.
Thank you in advance!
Level 65
That's a really bad guide and I wouldn't use that.
I would install it from git
git clone --depth=1 --branch=STABLE git://github.com/phpmyadmin/phpmyadmin.git
Then add this to your default site/vhost
location /phpmyadmin {
index index.php;
auth_basic "Login";
auth_basic_user_file /some/path/authbasic_mysql;
}
Optional (setup cron to update it daily)
pma_update.sh
#!/bin/bash
cd /some/path/to/phpmyadmin/
git pull -q origin STABLE
crontab -e
# Automatically upgrade phpMyAdmin daily (12am)
0 * * * * /path/to/pma_update.sh >/dev/null
5 likes
Please or to participate in this conversation.