From e39c3abd5b4c6268796bf6d7cc91c22c8a783d86 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Fri, 22 Feb 2019 13:45:15 -0700 Subject: lamp: adjust mariadb parameters --- update.sh | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'update.sh') diff --git a/update.sh b/update.sh index 90546278..90ae4745 100755 --- a/update.sh +++ b/update.sh @@ -309,6 +309,38 @@ EOF bash -c "sleep 2 && service apache2 reload" &>/dev/null & fi + # configure MariaDB (UTF8 4 byte support) + [[ -f /etc/mysql/mariadb.conf.d/91-ncp.cnf ]] || { + cat > /etc/mysql/mariadb.conf.d/91-ncp.cnf < https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815968 # Bug #416 reappeared after we moved to php7.2 and debian buster packages. (keep last) [[ "$( ls -l /etc/php/7.2/fpm/conf.d/*-opcache.ini | wc -l )" -gt 1 ]] && rm "$( ls /etc/php/7.2/fpm/conf.d/*-opcache.ini | tail -1 )" -- cgit v1.2.3