Created
June 7, 2025 21:02
-
-
Save efturtle/5ea7919bb56e65a4bdf7c7e8169c8dc1 to your computer and use it in GitHub Desktop.
install phpmyadmin via release archive and apache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # steps for installation of the phpmyadmin software in server | |
| # install php mysql package | |
| sudo apt install php7.4-mysql | |
| # navigate to | |
| cd /var/www/html | |
| # retrive the package | |
| sudo wget https://files.phpmyadmin.net/phpMyAdmin/5.2.2/phpMyAdmin-5.2.2-all-languages.tar.gz | |
| # un compress | |
| sudo tar xzf phpMyAdmin-5.1.3-all-languages.tar.gz | |
| # rename the folder | |
| sudo mv phpMyAdmin-5.1.3-all-languages phpmyadmin | |
| # set permission | |
| sudo chown -R www-data:www-data /var/www/html/phpmyadmin | |
| # create the apache conf | |
| sudo nano /etc/apache2/conf-available/phpmyadmin.conf | |
| # add the following to phpmyadmin.conf | |
| Alias /phpmyadmin /var/www/html/phpmyadmin | |
| <Directory /var/www/html/phpmyadmin> | |
| Options SymLinksIfOwnerMatch | |
| DirectoryIndex index.php | |
| AllowOverride All | |
| Require all granted | |
| </Directory> | |
| # enable conf and restart apache 2 | |
| sudo a2enconf phpmyadmin | |
| sudo systemctl reload apache2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

this would be the quickest solution to setup until a fix is updated for the phpmyadmin package
