fixed opcache config write
This commit is contained in:
@@ -148,6 +148,10 @@
|
|||||||
- name: Enable OPcache settings
|
- name: Enable OPcache settings
|
||||||
ansible.builtin.blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: "/etc/php/{{ nc_php_version }}/apache2/conf.d/10-opcache.ini"
|
path: "/etc/php/{{ nc_php_version }}/apache2/conf.d/10-opcache.ini"
|
||||||
|
create: true
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: "0644"
|
||||||
block: |
|
block: |
|
||||||
opcache.enable=1
|
opcache.enable=1
|
||||||
opcache.interned_strings_buffer=32
|
opcache.interned_strings_buffer=32
|
||||||
|
|||||||
Reference in New Issue
Block a user