diff --git a/roles/apache/tasks/apache.yml b/roles/apache/tasks/apache.yml index 0c393fef3..4940ab8fb 100644 --- a/roles/apache/tasks/apache.yml +++ b/roles/apache/tasks/apache.yml @@ -48,6 +48,7 @@ - { src: 'etc_apache2_conf-available_mod-md.conf.j2', dest: '/etc/apache2/conf-available/mod-md.conf' } - { src: 'etc_apache2_ports.conf.j2', dest: '/etc/apache2/ports.conf' } - { src: 'etc_php_7.3_fpm_pool.d_www.conf.j2', dest: '/etc/php/7.3/fpm/pool.d/www.conf' } + - { src: 'etc_php_7.3_cli_conf.d_20-apcu.ini.j2', dest: 'etc_php_7.3_cli_conf.d_20-apcu.ini' } notify: - reload apache - restart php-fpm diff --git a/roles/apache/templates/etc_php_7.3_cli_conf.d_20-apcu.ini.j2 b/roles/apache/templates/etc_php_7.3_cli_conf.d_20-apcu.ini.j2 new file mode 100644 index 000000000..b00565582 --- /dev/null +++ b/roles/apache/templates/etc_php_7.3_cli_conf.d_20-apcu.ini.j2 @@ -0,0 +1,2 @@ +extension=apcu.so +apc.enable_cli=1