Snippets
Revised by
Idoenk . Heri Purnomo
ef55439
Install and Secure phpMyAdmin with Nginx on Ubuntu 16.04
Step 1 — Install phpMyAdmin
sudo apt-get update
sudo apt-get install phpmyadmin
create a symbolic link from the installation files to our Nginx document root directory:
sudo ln -s /usr/share/phpmyadmin /var/www/html
enable the mcrypt PHP module, which phpMyAdmin relies on. This was installed with phpMyAdmin, so we’ll toggle it on and restart our PHP processor:
sudo phpenmod mcrypt
sudo systemctl restart php7.0-fpm
phpMyAdmin installation is now operational
http://server_domain_or_IP/phpmyadmin
You can clone a snippet to your computer for local editing. Learn more.