It’s recommended to launch a separate PHPStack application for the PHPMyAdmin installation on that server.

Following are the steps required to install PHPMyAdmin:

How to Install PHPMyAdmin on Cloudways

Step #1 — Connecting to Your Application

First, connect to your PHPStack application using SSH and navigate to the public_html folder with this command. Here folder name is the name of your PHPStack application.

cd applications/foldername/public_html

Step #2 — Downloading PHPMyAdmin

Next, download the PHPMyAdmin using the following command.

wget https://files.phpmyadmin.net/phpMyAdmin/5.0.4/phpMyAdmin-5.0.4-english.zip

Next, unzip the folder using the following command.

unzip phpMyAdmin-5.0.4-english.zip

Next, rename the PHPMyAdmin folder using the following command.

mv phpMyAdmin-5.0.4-english phpmyadmin

Now locate this folder from the browser to use PHPMyAdmin, for example, http://phpstack-123.cloudwaysapps.com/phpmyadmin.

Important

If you need to access databases on a different server using PHPMyAdmin, you must also install PHPMyAdmin on that server.

That’s it! We hope this article was helpful. If you need any help, then feel free to search your query on Cloudways Support Center or contact us via chat (Need a Hand > Send us a Message). Alternatively, you can also create a support ticket.

Did this answer your question?