-
Notifications
You must be signed in to change notification settings - Fork 3
/
main.yml
103 lines (96 loc) · 2.82 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
---
php_version: '{{ php_default_version }}'
php_install_fpm: true
php_install_xdebug: false
php_extra_packages: []
php_xdebug_package: null
php_autoremove_default_pool: false
# php.ini config
php_ini:
'date.timezone': 'Europe/Paris'
'expose_php': 'Off'
'memory_limit': '256M'
php_ini_fpm: {}
php_ini_cli: {}
# OpCache settings
php_opcache_enable: "1"
php_opcache_enable_cli: "0"
php_opcache_memory_consumption: "96"
php_opcache_interned_strings_buffer: "16"
php_opcache_max_accelerated_files: "4096"
php_opcache_max_wasted_percentage: "5"
php_opcache_validate_timestamps: "1"
php_opcache_revalidate_freq: "2"
php_opcache_max_file_size: "0"
# APC/APCu settings
php_apc_enable: "1"
php_apc_enable_cli: "0"
php_apc_shm_size: "32M"
php_apc_num_files_hint: "0"
php_apc_user_entries_hint: "0"
php_apc_user_ttl: "360"
php_apc_ttl: "60"
php_apc_file_update_protection: "0"
php_apc_slam_defense: "0"
php_apc_stat_ctime: "1"
# Xdebug
php_xdebug_auto_trace: '0'
php_xdebug_cli_color: '0'
php_xdebug_collect_assignments: '0'
php_xdebug_collect_includes: '1'
php_xdebug_collect_params: '0'
php_xdebug_collect_return: '0'
php_xdebug_collect_vars: '0'
php_xdebug_coverage_enable: '1'
php_xdebug_default_enable: '1'
php_xdebug_dump_globals: '1'
php_xdebug_dump_once: '1'
php_xdebug_dump_undefined: '0'
php_xdebug_extended_info: '1'
php_xdebug_file_link_format: 'xdebug://%f@%l'
php_xdebug_force_display_errors: '0'
php_xdebug_force_error_reporting: '0'
php_xdebug_halt_level: '0'
php_xdebug_idekey: '*complex*'
php_xdebug_manual_url: 'http://www.php.net'
php_xdebug_max_nesting_level: '100'
php_xdebug_overload_var_dump: '1'
php_xdebug_profiler_append: '0'
php_xdebug_profiler_enable: '0'
php_xdebug_profiler_enable_trigger: '0'
php_xdebug_profiler_enable_trigger_value: '""'
php_xdebug_profiler_output_dir: '/tmp'
php_xdebug_profiler_output_name: 'cachegrind.out.%p'
php_xdebug_remote_autostart: '0'
php_xdebug_remote_connect_back: '0'
php_xdebug_remote_cookie_expire_time: '3600'
php_xdebug_remote_enable: '0'
php_xdebug_remote_handler: 'dbgp'
php_xdebug_remote_host: 'localhost'
php_xdebug_remote_log: 'xdebug.remote_log'
php_xdebug_remote_mode: 'req'
php_xdebug_remote_port: '9000'
php_xdebug_scream: '0'
php_xdebug_show_exception_trace: '0'
php_xdebug_show_local_vars: '0'
php_xdebug_show_mem_delta: '0'
php_xdebug_trace_enable_trigger: '0'
php_xdebug_trace_enable_trigger_value: '""'
php_xdebug_trace_format: '0'
php_xdebug_trace_options: '0'
php_xdebug_trace_output_dir: '/tmp'
php_xdebug_trace_output_name: 'trace.%c'
php_xdebug_var_display_max_children: '128'
php_xdebug_var_display_max_data: '512'
php_xdebug_var_display_max_depth: '3'
# PHP-FPM
php_fpm_poold:
- name: 'www'
listen: '{{ php_default_fpm_sock }}'
pm: 'dynamic'
pm_max_children: 100
pm_start_servers: 10
pm_min_spare_servers: 10
pm_max_spare_servers: 20
# Hack
php_default_version: 'NONE'