summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.php_ini_setup
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-08-27 09:56:37 -0300
committerRenato Botelho <renato@netgate.com>2015-08-27 09:56:37 -0300
commit3e9127fad7ffac58e176050ae64241649f7ad6f8 (patch)
treea72e9ce4c72d6d725cb4f424c86cbf4b2658e004 /src/etc/rc.php_ini_setup
parentda37f1291773b0db831feeffb579d3bdcabb66f2 (diff)
downloadpfsense-3e9127fad7ffac58e176050ae64241649f7ad6f8.zip
pfsense-3e9127fad7ffac58e176050ae64241649f7ad6f8.tar.gz
Move opcache to zend_extensions
Diffstat (limited to 'src/etc/rc.php_ini_setup')
-rwxr-xr-xsrc/etc/rc.php_ini_setup7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/etc/rc.php_ini_setup b/src/etc/rc.php_ini_setup
index 0013b58..6b26386 100755
--- a/src/etc/rc.php_ini_setup
+++ b/src/etc/rc.php_ini_setup
@@ -90,9 +90,6 @@ fi
# Define php modules. Do not add .so, it will
# be done automatically by the script below.
PHPMODULES="standard"
-if [ "$LOWMEM" != "TRUE" ]; then
- PHPMODULES="$PHPMODULES opcache"
-fi
# Config read/write
PHPMODULES="$PHPMODULES xml libxml dom"
PHPMODULES="$PHPMODULES SimpleXML xmlreader xmlwriter"
@@ -143,6 +140,10 @@ PHPMODULES="$PHPMODULES filter"
PHP_ZEND_MODULES="ioncube_loader"
PHP_ZEND_MODULES_TS="ioncube_loader_ts"
+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
OpenPOWER on IntegriCloud