ajenti-v icon indicating copy to clipboard operation
ajenti-v copied to clipboard

Install phpmyadmin as a website

Open xralphack opened this issue 8 years ago • 3 comments

always show Access denied. The nginx error log is "Access to the script '/srv/phpMyAdmin' has been denied (see security.limit_extensions) ... ". OS: Ubuntu16.04 / php7.0-fpm. Can someone give me help?

xralphack avatar Sep 09 '16 18:09 xralphack

Not sure, have you check your php config? https://www.digitalocean.com/community/questions/php-fpm-security-limit_extension-issue

Check /etc/php/7.0/fpm/pool.d/ for the conf file. I have my limit_extensions in the main www.conf commented out: ; prevent configuration mistakes on the web server side. You should only limit ;security.limit_extensions = .php .php3 .php4 .php5 .php7

It might not be liking the .phtml file in phpmyadmin or something.

noogen avatar Jan 20 '17 03:01 noogen

You have to set up a PHP 7.0 FastCGI in content with defaults in "Websites". And just like any other site you specify the port & ssl. Phpmyadmin config.inc.php file needs line $cfg['ForceSSL'] = true; at the bottom if you use a certificate (which you should).

wrrr avatar Mar 11 '17 18:03 wrrr

Download PhpMyAdmin using the downloader. Then set up PHP 7.0 or PHP 7.1 Fast CGI for Content.Then change the port to any port you may like to access PHPMyAdmin from. That's all to it

Sithira avatar Sep 26 '17 03:09 Sithira