Skip to content
Snippets Groups Projects
Commit 1d304999 authored by jurgenhaas's avatar jurgenhaas
Browse files

#2 Removed apc and only kept it in php.ini for PHP 5.3

parent a4010eed
No related branches found
No related tags found
No related merge requests found
......@@ -46,16 +46,6 @@
notify:
- "Apache | Restart Apache"
- name: "PHP | Cache configuration file, apc.ini"
template:
src=etc-php5-conf-d-apc.ini
dest=/etc/{{ php_base_dir }}/{{ php_conf_dir }}/apc.ini
owner=root
group=root
mode=0644
notify:
- "Apache | Restart Apache"
- name: "PHP | Cache configuration file, opcache.ini"
template:
src=etc-php5-conf-d-opcache.ini
......
......@@ -1970,10 +1970,13 @@ define_syslog_variables = Off
{% if php_version|default('5.5') == '5.3' %}
[apc]
extension = apc.so
apc.rfc1867 = 1
apc.shm_size = 256M
apc.shm_segments = 1
apc.num_files_hint = 0
apc.rfc1867 = {{ apc_rfc1867 }}
apc.shm_size = {{ apc_shm_size }}
apc.shm_segments = {{ apc_shm_segments }}
apc.num_files_hint = {{ apc_num_files_hint }}
apc.ttl = {{ apc_ttl }}
apc.user_ttl = {{ apc_user_ttl }}
apc.gc_ttl = {{ apc_gc_ttl }}
[imagick]
extension=imagick.so
......
extension = apc.so
apc.rfc1867 = {{ apc_rfc1867 }}
apc.shm_size = {{ apc_shm_size }}
apc.shm_segments = {{ apc_shm_segments }}
apc.num_files_hint = {{ apc_num_files_hint }}
apc.ttl = {{ apc_ttl }}
apc.user_ttl = {{ apc_user_ttl }}
apc.gc_ttl = {{ apc_gc_ttl }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment