I did follow this tutorial https://www.digitalocean.com/community/tutorials/how-to-install-phpmyadmin-on-a-lemp-server to install PHPMyAdmin to Lemp server but it doesn’t work when i run myipaddress/phpmyadmin. This page isn’t working.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi @adrosonline,
I would like to turn your attention to the following paragraph:
Create a symbolic link between phpMyAdmin and your site’s directory. If you were using the previous tutorial, it may be still located in the nginx default directory, otherwise link it with the appropriate place:
Hello,
In case that you already have Nginx and PHP installed, what you could do is to just download PHPmyAdmin directly rather than installing it via
apt
.To do so you could just run:
After that unzip the archive:
Rename the folder:
Move the phpMyAdmin folder to your document root:
Note: change the /var/www/html path in case you are using a custom virtual host with a non-standard document root
Then finally change the ownership:
Hope that this helps!
Best,
Bobby
and when I follow this tutorial https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-20-04 i can’t run this command to install packages: sudo apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl error : E: dpkg was interrupted, you must manually run ‘sudo dpkg --configure -a’ to correct the problem.