diff --git a/src/modules/stack/install/ee_mod_setup_php.sh b/src/modules/stack/install/ee_mod_setup_php.sh index 3e477c83..597e8da0 100644 --- a/src/modules/stack/install/ee_mod_setup_php.sh +++ b/src/modules/stack/install/ee_mod_setup_php.sh @@ -69,7 +69,7 @@ function ee_mod_setup_php() # Setup Zend OpCache as per RAM grep memory_consumption /etc/php5/fpm/conf.d/05-opcache.ini &> /dev/null - if [ $? -ne 0]; then + if [ $? -ne 0 ]; then sed -i "s/zend_extension=opcache.so/zend_extension=opcache.so\nopcache.memory_consumption=${EE_OPCACHE_SIZE}\nopcache.max_accelerated_files=50000/" /etc/php5/fpm/conf.d/05-opcache.ini \ || ee_lib_error "Unable to change opcache.memory_consumption, exit status = " $? fi