Last active
May 9, 2022 07:14
-
-
Save MahefaAbel/c72817cc4da29c17d2b6d5d6b46141ed to your computer and use it in GitHub Desktop.
install-phpmyadmin
This file contains 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
wget https://files.phpmyadmin.net/phpMyAdmin/4.9.10/phpMyAdmin-4.9.10-all-languages.zip | |
unzip phpMyAdmin-4.9.10-all-languages.zip | |
sudo mv phpMyAdmin-4.9.10-all-languages/ /usr/share/phpmyadmin | |
sudo mkdir -p /var/lib/phpmyadmin/tmp | |
sudo chown -R www-data:www-data /var/lib/phpmyadmin | |
sudo mkdir /etc/phpmyadmin/ | |
sudo cp /usr/share/phpmyadmin/config.sample.inc.php /usr/share/phpmyadmin/config.inc.php | |
sudo nano /usr/share/phpmyadmin/config.inc.php | |
$cfg['blowfish_secret'] = 'H2OxcGXxflSd8JwrwVlh6KW6s2rER63i'; | |
$cfg['TempDir'] = '/var/lib/phpmyadmin/tmp'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo nano /etc/apache2/conf-enabled/phpmyadmin.conf