Skip to content

Commit

Permalink
Fix : Pma Error
Browse files Browse the repository at this point in the history
  • Loading branch information
dhtmdgkr123 committed Aug 26, 2020
1 parent d4688d9 commit b8f61c4
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions serverSettingHelper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,12 @@ installRedis() {
}

installPma() {
pmaVersion="5.0.2"
cd ~ &&
wget https://files.phpmyadmin.net/phpMyAdmin/5.0.2/phpMyAdmin-5.0.2-all-languages.zip &&
unzip phpMyAdmin-5.0.0-all-languages.zip &&
mv ./phpMyAdmin-5.0.0-all-languages/ /var/www/public/pma &&
rm -rf ./phpMyAdmin-5.0.0-all-languages.zip
wget https://files.phpmyadmin.net/phpMyAdmin/$pmaVersion/phpMyAdmin-5.0.2-all-languages.zip &&
unzip phpMyAdmin-$pmaVersion-all-languages.zip &&
mv ./phpMyAdmin-$pmaVersion-all-languages/ /var/www/public/pma &&
rm -rf ./phpMyAdmin-$pmaVersion-all-languages.zip
}

clearDpkg() {
Expand Down Expand Up @@ -269,11 +270,6 @@ else
##################################
installRedis &&

##################################
########## install pma ###########
##################################
installPma &&

##################################
####### Set MySQL Password #######
##################################
Expand Down Expand Up @@ -301,6 +297,11 @@ else
######### Add Git ignore #########
##################################
echo -e ".env\n/public/pma/*" >> /var/www/.gitignore &&

##################################
########## install pma ###########
##################################
installPma &&
clear &&

##################################
Expand Down

0 comments on commit b8f61c4

Please sign in to comment.