mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-24 12:06:02 +01:00
Add php_apc_stat variable.
This commit is contained in:
parent
24af7936a4
commit
d3e2ac586f
@ -62,6 +62,7 @@ When installing APC, depending on the system and whether running PHP as a webser
|
||||
|
||||
php_apc_cache_by_default: "1"
|
||||
php_apc_shm_size: "96M"
|
||||
php_apc_stat: "1"
|
||||
|
||||
Two APC ini directives that are often customized on a system. Set `php_apc_cache_by_default` to 0 to disable APC by default (so you could enable it on a host-by-host basis). Set the `php_apc_shm_size` so it will hold all your application code in memory with a little overhead (fragmentation or APC running out of memory will slow down PHP dramatically).
|
||||
|
||||
|
@ -13,6 +13,7 @@ php_enable_apc: true
|
||||
php_apc_enabled_in_ini: false
|
||||
php_apc_cache_by_default: "1"
|
||||
php_apc_shm_size: "96M"
|
||||
php_apc_stat: "1"
|
||||
|
||||
# If this is set to false, none of the following options will have any effect.
|
||||
# Any and all changes to /etc/php.ini will be your responsibility.
|
||||
|
@ -2,6 +2,7 @@
|
||||
extension=apc.so
|
||||
{% endif %}
|
||||
apc.shm_size={{ php_apc_shm_size }}
|
||||
apc.stat={{ php_apc_stat }}
|
||||
apc.enable_cli=0
|
||||
apc.rfc1867=1
|
||||
apc.cache_by_default={{ php_apc_cache_by_default }}
|
||||
|
Loading…
Reference in New Issue
Block a user