mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-24 12:06:02 +01:00
Add php_apc_enabled_in_ini option.
This commit is contained in:
parent
c5f332d387
commit
4121ffe265
@ -18,6 +18,10 @@ Available variables are listed below, along with default values (see `vars/main.
|
||||
|
||||
Some commonly-adjusted PHP ini directives. Adjust to suit your system.
|
||||
|
||||
php_apc_enabled_in_ini: false
|
||||
|
||||
When installing APC, depending on the system and whether running PHP as a webserver module or standalone via `php-fpm`, you might need the line `extension=apc.so` in `apc.ini`. If you need that line added, set this variable to true.
|
||||
|
||||
php_apc_cache_by_default: "1"
|
||||
php_apc_shm_size: "96M"
|
||||
|
||||
|
@ -4,6 +4,7 @@ php_enablerepo: ""
|
||||
php_memory_limit: "256M"
|
||||
php_max_execution_time: "60"
|
||||
php_upload_max_filesize: "64M"
|
||||
php_apc_enabled_in_ini: false
|
||||
php_apc_cache_by_default: "1"
|
||||
php_apc_shm_size: "96M"
|
||||
php_date_timezone: "America/Chicago"
|
||||
|
@ -1,3 +1,6 @@
|
||||
{% if php_apc_enabled_in_ini %}
|
||||
extension=apc.so
|
||||
{% endif %}
|
||||
apc.shm_size={{ php_apc_shm_size }}
|
||||
apc.enable_cli=0
|
||||
apc.rfc1867=1
|
||||
|
Loading…
Reference in New Issue
Block a user