Installing PhpMyAdmin Quickly

EasyEngine users can install phpMyAdmin quickly with command

ee stack install --phpmyadmin

Since phpMyAdmin does not ship with all the dependancies anymore, you will have install the dependancies manually with the following commands.

Note that you will have to install Composer for these commands to work.

cd /var/www/22222/htdocs/db/pma/
composer install --no-dev

Non EasyEngine Users will have to follow below steps.

Installing PhpMyAdmin in a subdirectory

Assuming example.com site has PHP support enabled.

Run following commands:

cd /var/www/example.com/htdocs/
git clone https://github.com/phpmyadmin/phpmyadmin.git phpmyadmin 
cd phpmyadmin
composer update --no-dev

It will install latest PhpMyAdmin which can be accessed from http://example.com/phpmyadmin

Installing PhpMyAdmin on a separate subdomain

You need to first create a site like mysql.example.com site with PHP support. You can use this tutorial to create a virtual-host with PHP support. Just skip WordPress downloading and database setup part.

Then, run following commands:

Run following commands:

cd /var/www/example.com/htdocs/
git clone https://github.com/phpmyadmin/phpmyadmin.git .
composer update --no-dev

This will install latest phpMyAdmin which can be accessed from http://mysql.example.com/

Discuss your project
with our experts

No obligation. Limited slots.

Contact Form Business Enquiry

"*" indicates required fields

Please attach any RFP, project specification, or document that you would like to share.
Drop files here or
Max. file size: 5 GB.
    This field is for validation purposes and should be left unchanged.