Commit c959ccc6 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

Merge pull request #28 in T3COM/bamboo-remote-agent from...

Merge pull request #28 in T3COM/bamboo-remote-agent from INFRA-232-bamboo-agents-segfaults-in-unit to develop

* commit '4f7d79bf':
  [TASK] Disable opcache on cli and configure apcu correctly
parents fa52446b 4f7d79bf
......@@ -39,6 +39,16 @@ minimal_apt_get_install \
#
# Enable apc on cli for unit tests
echo "apc.enable_cli=1" >> /etc/php/7.1/mods-available/apcu.ini
echo "apc.slam_defense=0" >> /etc/php/7.1/mods-available/apcu.ini
# Disable opcache on php 7.1 since that triggers segfaults 'zend_mm_heap corrupted' with vfsStream 1.6.4 (currently)
echo "opcache.enable_cli=0" >> /etc/php/7.1/cli/conf.d/10-opcache.ini
## Enable phar writing
sed -i s/';phar.readonly = On'/'phar.readonly = Off'/ /etc/php/7.1/cli/php.ini
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment