summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.php_ini_setup
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/rc.php_ini_setup')
-rwxr-xr-xsrc/etc/rc.php_ini_setup9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/etc/rc.php_ini_setup b/src/etc/rc.php_ini_setup
index 3d53233..6d9e77f 100755
--- a/src/etc/rc.php_ini_setup
+++ b/src/etc/rc.php_ini_setup
@@ -139,10 +139,6 @@ PHPMODULES="$PHPMODULES filter"
PHP_ZEND_MODULES=""
-if [ "$LOWMEM" != "TRUE" ]; then
- PHP_ZEND_MODULES="$PHP_ZEND_MODULES opcache"
-fi
-
# Modules previously included.
# can be turned on by touching
# /etc/php_dynamodules/$modulename
@@ -242,6 +238,11 @@ opcache.enable_cli="0"
opcache.memory_consumption="${OPCACHEMEMSIZE}"
EOF
+else
+ /bin/cat >>/usr/local/lib/php.ini <<EOF
+; opcache Settings
+opcache.enabled="0"
+EOF
fi
/bin/cat >>/usr/local/lib/php.ini <<EOF
OpenPOWER on IntegriCloud