mod_php_install.sh: fix error for legacy MySQL functions support.

This commit is contained in:
Christoph 2018-08-12 17:11:33 +02:00
parent aa33c34752
commit b4ea83fa76

View File

@ -2876,7 +2876,7 @@ if $LEGACY_SQL_FUNCTION_SUPPORT ; then
echononl "\tphp.ini: extension=\"$extension_lsf\" .."
if [[ -n "$extension_lsf" ]]; then
perl -i -n -p -e "s#^(\s*\[PHP\]\s*)#\1\n;extension=$extension_xdebug\n#" $PHP_INI_FILE
perl -i -n -p -e "s#^(\s*\[PHP\]\s*)#\1\nextension=$extension_lsf\n#" $PHP_INI_FILE
if [ "$?" = "0" ]; then
echo_ok
else