

However, for the Nginx web server to find and serve the phpMyAdmin files correctly, you’ll need to create a symbolic link from the installation files to Nginx’s document root directory.
INSTALL PHPMYADMIN UBUNTU NGINX INSTALL
$ sudo ln -s /usr/share/phpmyadmin /usr/share/nginx/htmlĪfter the above process, we have to set up phpMyAdmin as a virtual host as well as a subdomain:įastcgi_split_path_info ^(.+\.php)(/.+)$ įastcgi_pass unix:/var/run/php5-fpm.sock įastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name A final item that we need to address is enabling the mcrypt PHP module, which phpMyAdmin relies on. INSTALL COMPONENT 'file://componentvalidatepassword' Once the apt install command completes, phpMyAdmin will be fully installed. Then, we create a symbolic link to the Nginx document root directory from the installation files with the following command: Then, we hit Tab when the prompt asks about bypassing the webserver.Īfter that, the next prompt will ask whether we want to configure a database for PHPMyAdmin with dbconfig-common’s help. phpMyAdmin is included in Ubuntu 20.
INSTALL PHPMYADMIN UBUNTU NGINX DOWNLOAD
We install phpmyadmin with the following command: You can install phpMyAdmin by using APT to download the phpmyadminpackage from the default Ubuntu repositories. Step 1: Download and Install phpMyAdmin on Ubuntu 20.04. The tutorial, it is good to ensure your system is up-to-date with all existing packages to avoid any conflicts during the installation.
