
# as directory, then fall back to displaying a 404. We’ll configure Nginx in the next section. There is no option to choose Nginx, press TAB to select OK and then Enter. The installer will ask you choose the web server that should be automatically configured to run phpMyAdmin.
#Phpmyadmin nginx install#
# First attempt to serve request as file, then sudo apt install phpmyadmin Make sure you have Nginx and PHP FPM installed on your system before installing phpMyAdmin. # Add index.php to the list if you are using PHP nano /etc/nginx/sites-available/default # Default server configuration for phpMyAdmin $ ln -s /usr/share/phpmyadmin/ /var/Here is my default serverblock configuration for phpMyAdmin. Since Nginx’s default root directory is located at /var/www/html, we can also create a symbolic link to this default root directory. This tutorial should work well on both Ubuntu 16.04 and 18.04 LTS. Well, if you want to install and configure phpMyAdmin on LEMP Stack, you need to follow the following guidelines.

Of course, phpMyAdmin is completely free and it’s open source. In fact it has become a standard feature in almost all control panels including cPanel-WHM, Plesk, VestaCP, Centos Web Panel (CWP), Webuzo, and Kloxo-MR. 2.Nginx use /var/3.If you changed web server root, istead of /var/www/html, use your path and make sure you set the right permissions.
#Phpmyadmin nginx how to#
However, in this tutorial I will guide you how to install and configure phpMyAdmin on the Ubuntu 16.04/18.04 LTS Server, which runs Nginx web server with PHP-FPM.Īs we know that phpMyAdmin is the most popular MySQL/MariaDB administration tool in a shared web hosting environment. 1.While installing phpmyadmin, select apache2 and install it, it copies necessary files. Out there we have two choices of administration tools for database servers, including phpMyAdmin and Adminer. Create a directory for PHPMyAdmin and change its ownership to the www-data user. We will be obtaining the latest stable version of PHPMyAdmin from the GitHub repository and periodically pull updates for it via Git.

Well, if you have LEMP Stack running on your cloud server, surely you will need a web-based interface administration tool to handle your MySQL or MariaDB database server. This article will show you how to install the latest version of PHPMyAdmin on Nginx. Running LEMP Stack (Linux, Nginx, MySQL/MariaDB, and PHP) without a control panel will certainly be quite difficult for beginners. Start your VPS now with FREE $100 credit.
