How to install PhpMyAdmin on Linux using Source Code 4 years ago Nayan Prajapati 1 minute Step 1 – Download phpMyAdmin ArchiveDownload phpMyAdmin source code from click here to download and extract the downloaded archive# cd /usr/share# wget https://files.phpmyadmin.net/phpMyAdmin/5.1.1/phpMyAdmin-5.1.1-all-languages.zip# unzip phpMyAdmin-5.1.1-all-languages.zip# mv phpMyAdmin-5.1.1-all-language phpmyadminGive permission and ownership on phpmyadmin folderFor Debian based system# chown -R www-data:www-data /usr/share/phpmyadmin# chmod -R 755 /usr/share/phpmyadminFor Redhat based system# chown -R apache:apache /usr/share/phpmyadmin# chmod -R 755 /usr/share/phpmyadmin Step 2 – Setup Apache for phpMyAdminCreate a new Apache configuration file for phpMyAdminAlias /phpmyadmin /usr/share/phpmyadmin<Directory "/usr/share/phpmyadmin">Require all granted</Directory> Step 3 – Restart Apache ServiceFor Debian based system# systemctl restart apache2For Redhat based system# systemctl restart httpd Step 4 – Access phpMyAdmin from browserAccess phpmyadmin from browser using below URLURL:- http://domain.com/phpmyadmin/