phpMyAdmin version 4.3.7

This commit is contained in:
Michael RICOIS 2015-01-19 20:26:12 +01:00
parent 4ea1ed6025
commit b237485e9b
8 changed files with 10 additions and 9 deletions

View File

@ -19,7 +19,7 @@ then
fi
# Installation MariaDB
MARIADB_VERSION='10.0'
MARIADB_VERSION="10.0"
MYSQL_PASS=scores
if [ ! -f /etc/mysql/vagrant ]
then
@ -39,7 +39,7 @@ then
fi
# Installation phpMyAdmin
PHPMYADMIN_VERSION='4.3.1'
PHPMYADMIN_VERSION="4.3.7"
if [ ! -d "/home/vhosts/phpMyAdmin-$PHPMYADMIN_VERSION-all-languages" ]
then
if [ -f "/vagrant/data/Apps/phpMyAdmin-$PHPMYADMIN_VERSION-all-languages.zip" ]

View File

@ -2,8 +2,8 @@
ServerName phpmyadmin.sd.dev
UseCanonicalName On
UseCanonicalPhysicalPort On
DocumentRoot /home/vhosts/phpmyadmin
<Directory /home/vhosts/phpmyadmin/>
DocumentRoot /home/vhosts/phpMyAdmin-4.3.7-all-languages
<Directory /home/vhosts/phpMyAdmin-4.3.7-all-languages/>
EnableSendfile Off
AllowOverride all
Order allow,deny

View File

@ -19,7 +19,7 @@ then
fi
# --- Installation MariaDB
MARIADB_VERSION='10.0'
MARIADB_VERSION="10.0"
MYSQL_PASS=scores
if [ ! -f /etc/mysql/vagrant ]
then
@ -37,7 +37,7 @@ then
fi
# --- Installation phpMyAdmin
PHPMYADMIN_VERSION='4.3.1'
PHPMYADMIN_VERSION="4.3.7"
if [ ! -d "/home/vhosts/phpMyAdmin-$PHPMYADMIN_VERSION-all-languages" ]
then
if [ -f "/vagrant/data/Apps/phpMyAdmin-$PHPMYADMIN_VERSION-all-languages.zip" ]
@ -46,7 +46,8 @@ then
mysql -hlocalhost -uroot -p$MYSQL_PASS < /vagrant/data/Apps/phpmyadmin.sql
mysql -hlocalhost -uroot -p$MYSQL_PASS < /home/vhosts/phpMyAdmin-$PHPMYADMIN_VERSION-all-languages/examples/create_tables.sql
sudo service mysql restart
cp /vagrant/data/Apps/config.inc.php "/home/vhosts/phpMyAdmin-$PHPMYADMIN_VERSION-all-languages/"
cp /vagrant/data/Apps/config.inc.php "/home/vhosts/phpMyAdmin-$PHPMYADMIN_VERSION-all-languages/"
chmod 0444 /home/vhosts/phpMyAdmin-$PHPMYADMIN_VERSION-all-languages/config.inc.php
fi
fi

View File

@ -2,8 +2,8 @@
ServerName phpmyadmin.sd.dev
UseCanonicalName On
UseCanonicalPhysicalPort On
DocumentRoot /home/vhosts/phpMyAdmin-4.3.1-all-languages
<Directory /home/vhosts/phpMyAdmin-4.3.1-all-languages/>
DocumentRoot /home/vhosts/phpMyAdmin-4.3.7-all-languages
<Directory /home/vhosts/phpMyAdmin-4.3.7-all-languages/>
EnableSendfile Off
AllowOverride all
Require all granted