Fix webserver (lighttpd/php/phpmyadmin) stack

This commit is contained in:
2015-12-27 15:44:26 +01:00
committed by Bram Veenboer
parent 1ef576e910
commit 9f303d024a
6 changed files with 22 additions and 18 deletions

View File

@@ -4,13 +4,12 @@ source /build/config
set -x
## phpMyAdmin
export_env PMA_VERSION 4.5.2
export_env PMA_VERSION 4.5.3.1
export_env PMA_CONFIG /var/www/config.inc.php
cd /opt
wget https://files.phpmyadmin.net/phpMyAdmin/$PMA_VERSION/phpMyAdmin-$PMA_VERSION-all-languages.tar.gz
tar xzf phpMyAdmin-$PMA_VERSION-all-languages.tar.gz
mkdir phpMyAdmin-$PMA_VERSION
mv phpMyAdmin-$PMA_VERSION-* phpMyAdmin-$PMA_VERSION
tar xzf phpMyAdmin-$PMA_VERSION-all-languages.tar.gz phpMyAdmin-$PMA_VERSION-all-languages
mv phpMyAdmin-$PMA_VERSION-*/ phpMyAdmin-$PMA_VERSION/
rm -r /var/www
ln -s /opt/phpMyAdmin-$PMA_VERSION /var/www