PHP7 Implementation

This commit is contained in:
Emilien Mantel
2016-01-22 15:57:29 +01:00
parent d1d258a809
commit ee228b05b6
19 changed files with 97 additions and 63 deletions

View File

@@ -0,0 +1,25 @@
;
; {{ ansible_managed }}
;
extension={{ php_apc_package }}.so
; apc.enabled can be set to 0 to disable APC
apc.enable={{ php_apc_enable }}
; Mostly for testing and debugging.
apc.enable_cli={{ php_apc_enable_cli }}
; The size of each shared memory segment in MB
apc.shm_size={{ php_apc_shm_size }}
; A "hint" about the number of distinct source files that will be included or requested on your web server. Set to zero or omit if unsure; this setting is mainly useful for sites that have many thousands of source files.
apc.num_files_hint={{ php_apc_num_files_hint }}
; Just like apc.num_files_hint, a "hint" about the number of distinct user cache variables to store. Set to zero or omit if not sure.
apc.user_entries_hint={{ php_apc_user_entries_hint }}
; The number of seconds a cache entry is allowed to idle in a slot in case this cache entry slot is needed by another entry
apc.user_ttl={{ php_apc_user_ttl }}
apc.ttl={{ php_apc_ttl }}
; rsync = 0 | tar/cp = 2
apc.file_update_protection={{ php_apc_file_update_protection }}
; This option sets the percentage of processes that will skip trying to cache an uncached file
apc.slam_defense={{ php_apc_slam_defense }}
; Verification with ctime will avoid problems caused by programs such as svn or rsync by making sure inodes haven't changed since the last stat
apc.stat_ctime={{ php_apc_stat_ctime }}

View File

@@ -0,0 +1,17 @@
;
; {{ ansible_managed }}
;
; configuration for php ZendOpcache module
; priority=05
zend_extension=opcache.so
opcache.enable={{ php_opcache_enable }}
opcache.enable_cli={{ php_opcache_enable_cli }}
opcache.memory_consumption={{ php_opcache_memory_consumption }}
opcache.interned_strings_buffer={{ php_opcache_interned_strings_buffer }}
opcache.max_accelerated_files={{ php_opcache_max_accelerated_files }}
opcache.max_wasted_percentage={{ php_opcache_max_wasted_percentage }}
opcache.validate_timestamps={{ php_opcache_validate_timestamps }}
opcache.revalidate_freq={{ php_opcache_revalidate_freq }}
opcache.max_file_size={{ php_opcache_max_file_size }}

View File

@@ -0,0 +1,65 @@
; --------------------------------------
; {{ ansible_managed }}
; --------------------------------------
; configuration for php xdebug module
; priority=20
zend_extension={{ php_extension_dir.stdout }}/xdebug.so
{% if xdebug_version.stdout|version_compare('2.3', 'gt') %}
{% endif %}
xdebug_auto_trace={{ php_xdebug_auto_trace }}
xdebug_cli_color={{ php_xdebug_cli_color }}
xdebug_collect_assignments={{ php_xdebug_collect_assignments }}
xdebug_collect_includes={{ php_xdebug_collect_includes }}
xdebug_collect_params={{ php_xdebug_collect_params }}
xdebug_collect_return={{ php_xdebug_collect_return }}
xdebug_collect_vars={{ php_xdebug_collect_vars }}
xdebug_coverage_enable={{ php_xdebug_coverage_enable }}
xdebug_default_enable={{ php_xdebug_default_enable }}
xdebug_dump_globals={{ php_xdebug_dump_globals }}
xdebug_dump_once={{ php_xdebug_dump_once }}
xdebug_dump_undefined={{ php_xdebug_dump_undefined }}
xdebug_extended_info={{ php_xdebug_extended_info }}
xdebug_file_link_format={{ php_xdebug_file_link_format }}
xdebug_force_display_errors={{ php_xdebug_force_display_errors }}
xdebug_force_error_reporting={{ php_xdebug_force_error_reporting }}
xdebug_halt_level={{ php_xdebug_halt_level }}
xdebug_idekey={{ php_xdebug_idekey }}
xdebug_manual_url={{ php_xdebug_manual_url }}
xdebug_max_nesting_level={{ php_xdebug_max_nesting_level }}
xdebug_overload_var_dump={{ php_xdebug_overload_var_dump }}
xdebug_profiler_append={{ php_xdebug_profiler_append }}
xdebug_profiler_enable={{ php_xdebug_profiler_enable }}
xdebug_profiler_enable_trigger={{ php_xdebug_profiler_enable_trigger }}
{% if xdebug_version.stdout|version_compare('2.3', 'gt') %}
xdebug_profiler_enable_trigger_value={{ php_xdebug_profiler_enable_trigger_value }}
{% endif %}
xdebug_profiler_output_dir={{ php_xdebug_profiler_output_dir }}
xdebug_profiler_output_name={{ php_xdebug_profiler_output_name }}
xdebug_remote_autostart={{ php_xdebug_remote_autostart }}
xdebug_remote_connect_back={{ php_xdebug_remote_connect_back }}
xdebug_remote_cookie_expire_time={{ php_xdebug_remote_cookie_expire_time }}
xdebug_remote_enable={{ php_xdebug_remote_enable }}
xdebug_remote_handler={{ php_xdebug_remote_handler }}
xdebug_remote_host={{ php_xdebug_remote_host }}
xdebug_remote_log={{ php_xdebug_remote_log }}
xdebug_remote_mode={{ php_xdebug_remote_mode }}
xdebug_remote_port={{ php_xdebug_remote_port }}
xdebug_scream={{ php_xdebug_scream }}
xdebug_show_exception_trace={{ php_xdebug_show_exception_trace }}
xdebug_show_local_vars={{ php_xdebug_show_local_vars }}
xdebug_show_mem_delta={{ php_xdebug_show_mem_delta }}
xdebug_trace_enable_trigger={{ php_xdebug_trace_enable_trigger }}
{% if xdebug_version.stdout|version_compare('2.3', 'gt') %}
xdebug_trace_enable_trigger_value={{ php_xdebug_trace_enable_trigger_value }}
{% endif %}
xdebug_trace_format={{ php_xdebug_trace_format }}
xdebug_trace_options={{ php_xdebug_trace_options }}
xdebug_trace_output_dir={{ php_xdebug_trace_output_dir }}
xdebug_trace_output_name={{ php_xdebug_trace_output_name }}
xdebug_var_display_max_children={{ php_xdebug_var_display_max_children }}
xdebug_var_display_max_data={{ php_xdebug_var_display_max_data }}
xdebug_var_display_max_depth={{ php_xdebug_var_display_max_depth }}