This repository has been archived on 2022-05-30. You can view files and clone it, but cannot push or open issues or pull requests.
autonomic.php/defaults/main.yml

61 lines
2.3 KiB
YAML

---
php_ver: 7.3
php_composer_version: "2.0.11"
php_composer_install: false
php_composer_update: false
php_composer_install_file: /tmp/composer-installer.php
php_composer_checksum: sha384:756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3
php_extensions_default:
- { "name": "php{{ php_ver }}-cli", "state": "present" }
- { "name": "php{{ php_ver }}-common", "state": "present" }
- { "name": "php{{ php_ver }}-curl", "state": "present" }
- { "name": "php{{ php_ver }}-dev", "state": "present" }
- { "name": "php{{ php_ver }}-fpm", "state": "present" }
- { "name": "php{{ php_ver }}-gd", "state": "present" }
- { "name": "php{{ php_ver }}-mbstring", "state": "present" }
- { "name": "php{{ php_ver }}-mysql", "state": "present" }
- { "name": "php{{ php_ver }}-opcache", "state": "present" }
- { "name": "php{{ php_ver }}-xml", "state": "present" }
- { "name": "php{{ php_ver }}-xmlrpc", "state": "present" }
- { "name": "php{{ php_ver }}-zip", "state": "present" }
php_extensions_custom: []
php_extensions: "{{ php_extensions_default + php_extensions_custom }}"
php_short_open_tag: "Off"
php_output_buffering: 4096
php_disable_functions: >
pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,
pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,
pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,
pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,
pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,
pcntl_setpriority,pcntl_async_signals
php_error_reporting: "E_ALL & ~E_DEPRECATED & ~E_STRICT"
php_log_errors: "Off"
php_error_log: ""
php_display_errors: "Off"
php_display_startup_errors: "Off"
php_max_execution_time: 30
php_max_input_time: 300
php_max_input_vars: 1000
php_memory_limit: 128M
php_mysqlnd_collect_memory_statistics: "Off"
php_post_max_size: 25M
php_session_cookie_httponly: "On"
php_session_cookie_secure: "Off"
php_upload_max_filesize: 25M
php_track_errors: "Off"
php_timezone: '{{ ntp_timezone | default("Etc/UTC") }}'
php_opcache_enable: 1
php_opcache_enable_cli: 1
php_opcache_fast_shutdown: 1
php_opcache_interned_strings_buffer: 8
php_opcache_max_accelerated_files: 4000
php_opcache_memory_consumption: 128
php_opcache_revalidate_freq: 60