Skip to content

Commit 1c1a070

Browse files
committed
Update Defaults
1 parent 4043c22 commit 1c1a070

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/assets/functions/20-php-fpm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ EOF
138138
unset PHP_ENABLE_CREATE_SAMPLE_PHP # legacy
139139
php_env_plugins_enabled=$(set -o posix; set | sort | grep PHP_ENABLE_ | grep -i TRUE |sed -e 's/PHP_ENABLE_//g' | sed -e 's/=TRUE//g' | awk -vRS="" -vOFS=', ' '$1=$1' | tr A-Z a-z)
140140
for module in $(echo "${php_env_plugins_enabled}" | tr "," "\n" ) ; do
141-
if [ -f "${php_prefix}"/mods-available/${module}.ini ]; then
141+
if [ -f "${php_prefix}"/mods-available/"${module}".ini ]; then
142142
print_debug "Enabling ${module}"
143143
silent php-ext enable "${module}"
144144
php_actual_plugins_enabled="${php_actual_plugins_enabled} ${module}"
@@ -329,7 +329,7 @@ phpfpm_post_init() {
329329
"alpine" )
330330
### Weird Opcache issue
331331
if [ -f "${php_prefix}/conf.d/10-opcache.ini" ] && [ -f "${php_prefix}/conf.d/00-opcache.ini" ] ; then
332-
rm -rf ${php_prefix}/conf.d/00-opcache.ini
332+
rm -rf "${php_prefix}"/conf.d/00-opcache.ini
333333
fi
334334
;;
335335
"debian" )

0 commit comments

Comments
 (0)