From: Nikita Popov Date: Wed, 28 Aug 2019 15:39:39 +0000 (+0200) Subject: Set opcache.protect_memory=1 on Azure X-Git-Tag: php-7.4.0RC1~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43551405d5d4b2407b7a9c76bcee83750c91c30f;p=php Set opcache.protect_memory=1 on Azure --- diff --git a/azure/i386/job.yml b/azure/i386/job.yml index 1183906fce..f93a1a7685 100644 --- a/azure/i386/job.yml +++ b/azure/i386/job.yml @@ -73,6 +73,8 @@ jobs: sudo chmod 777 /etc/php.d echo mysqli.default_socket=/var/run/mysqld/mysqld.sock > /etc/php.d/mysqli.ini echo pdo_mysql.default_socket=/var/run/mysqld/mysqld.sock > /etc/php.d/pdo_mysql.ini + echo opcache.enable_cli=1 >> /etc/php.d/opcache.ini + echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini displayName: 'Install Build' - script: | mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test" @@ -86,4 +88,4 @@ jobs: parameters: configurationName: ${{ parameters.configurationName }} runTestsName: 'OpCache' - runTestsParameters: -d zend_extension=opcache.so -d opcache.enable_cli=1 + runTestsParameters: -d zend_extension=opcache.so diff --git a/azure/job.yml b/azure/job.yml index 994ccf0981..50d1178968 100644 --- a/azure/job.yml +++ b/azure/job.yml @@ -75,6 +75,8 @@ jobs: sudo chmod 777 /etc/php.d echo mysqli.default_socket=/var/run/mysqld/mysqld.sock > /etc/php.d/mysqli.ini echo pdo_mysql.default_socket=/var/run/mysqld/mysqld.sock > /etc/php.d/pdo_mysql.ini + echo opcache.enable_cli=1 >> /etc/php.d/opcache.ini + echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini displayName: 'Install Build' - script: | mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test" @@ -91,4 +93,4 @@ jobs: runTestsName: 'OpCache' runTestsParameters: >- ${{ parameters.runTestsParameters }} - -d zend_extension=opcache.so -d opcache.enable_cli=1 + -d zend_extension=opcache.so diff --git a/azure/macos/job.yml b/azure/macos/job.yml index 2d656ec15c..ef1091724d 100644 --- a/azure/macos/job.yml +++ b/azure/macos/job.yml @@ -82,4 +82,4 @@ jobs: parameters: configurationName: ${{ parameters.configurationName }} runTestsName: 'OpCache' - runTestsParameters: -d zend_extension=opcache.so -d opcache.enable_cli=1 + runTestsParameters: -d zend_extension=opcache.so -d opcache.enable_cli=1 -d opcache.protect_memory=1