Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MP-6899 : phpmyadmin_version changes #186

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions mysql-20-04/scripts/010-php-my-admin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ chown -R www-data: /etc/apache2
chown -R www-data: /var/www

# Manually update phpmyadmin to latest version
if [ -z "${phpmyadmin_version}" ]; then
phpmyadmin_version=$(curl -sSL https://www.phpmyadmin.net/home_page/version.txt | head -1);
fi

wget -O /tmp/phpmyadmin.tar.gz "https://files.phpmyadmin.net/phpMyAdmin/${phpmyadmin_version}/phpMyAdmin-${phpmyadmin_version}-all-languages.tar.gz"
mv /usr/share/phpmyadmin /usr/share/phpmyadmin.bak
mkdir /usr/share/phpmyadmin
Expand Down
2 changes: 1 addition & 1 deletion mysql-20-04/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"apt_packages": "apache2 apache2-utils mysql-server php php-gd php-mysql phpmyadmin python3-certbot-apache libapache2-mod-php lamp-server^ ",
"application_name": "MySQL",
"application_version": "8.0.21",
"phpmyadmin_version": "5.0.3"
"phpmyadmin_version": ""
},
"sensitive-variables": ["do_api_token"],
"builders": [
Expand Down