Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install phpmyadmin as a website #240

Open
xralphack opened this issue Sep 9, 2016 · 3 comments
Open

Install phpmyadmin as a website #240

xralphack opened this issue Sep 9, 2016 · 3 comments

Comments

@xralphack
Copy link

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?

@noogen
Copy link

noogen commented Jan 20, 2017

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.

@wrrr
Copy link

wrrr commented Mar 11, 2017

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).

@Sithira
Copy link

Sithira commented Sep 26, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants