+1
Answered
How to install phpmyadmin ?
Hello,
I've installed phpmyadmin, but how can I get it loaded ?
Please some nice tutorial should be helpful !
Thanks
I've installed phpmyadmin, but how can I get it loaded ?
Please some nice tutorial should be helpful !
Thanks
Answer
0
Answer
Answered
Eugene Pankov (Project coordinator) 10 years ago
Installing to /usr/share is a bit of unfortunate idea, so I've put together a small tutorial: http://support.ajenti.org/topic/479448-/
+4
- cd /usr/share/
- wget http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/4.1.7/phpMyadmin.4.1.7-all-languages.tar.bz2
- tar -xvf phpMyAdmin-4.1.7-all-languages.tar.bz2
- mv phpMyAdmin-4-1-7-all-languages.tar.bz2 phpmyadmin
- cd /phpmyadmin
- mv config.sample.inc.php config.inc.php
- iptables -A INPUT -p tcp -m tcp --dport 8001 -j ACCEPT
- iptables-save | sudo tee /etc/sysconfig/iptables
- service iptables restart
Login to Ajenti (Ajenti-V needs to be installed) and create a new website.
- Set name as phpmyadmin
- Untick Maintenance mode
- Set Path to /usr/share/phpmyadmin
- Under 'ports' add host = * Port = 8001
- Under 'content' create new PHP FastCGI
If you recieve an error 'cannot start session without errors' run: chmod 777 /var/lib/php/session/
I would like to a additional step to IvMatt's procedure.
It seems Ajenti's php.ini doesn't include session_path folder correct. You have to make it.
It seems Ajenti's php.ini doesn't include session_path folder correct. You have to make it.
- mkdir /var/lib/php/session
- chmod 755 /var/lib/php/session
Answer
Answered
Installing to /usr/share is a bit of unfortunate idea, so I've put together a small tutorial: http://support.ajenti.org/topic/479448-/
Customer support service by UserEcho