Skip to content

Instantly share code, notes, and snippets.

@efturtle
Created June 7, 2025 21:02
Show Gist options
  • Select an option

  • Save efturtle/5ea7919bb56e65a4bdf7c7e8169c8dc1 to your computer and use it in GitHub Desktop.

Select an option

Save efturtle/5ea7919bb56e65a4bdf7c7e8169c8dc1 to your computer and use it in GitHub Desktop.
install phpmyadmin via release archive and apache
# 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
@efturtle
Copy link
Copy Markdown
Author

efturtle commented Jun 7, 2025

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

@efturtle
Copy link
Copy Markdown
Author

efturtle commented Jun 7, 2025

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment