Browse Source

Fixed Typo

bugfixes
gau1991 10 years ago
parent
commit
4be63ff437
  1. 2
      src/modules/stack/install/ee_mod_setup_php.sh

2
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

Loading…
Cancel
Save