Created
May 16, 2018 19:29
-
-
Save digimix/2253f33c4dba7ebc7839ffba07a9330f to your computer and use it in GitHub Desktop.
WordPress PHP Server Requirements by Digimix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
disable_default_pool: true | |
memcached_sessions: false | |
php_extensions_default: | |
php7.2-cli: "{{ apt_package_state }}" | |
php7.2-common: "{{ apt_package_state }}" | |
php7.2-curl: "{{ apt_package_state }}" | |
php7.2-dev: "{{ apt_package_state }}" | |
php7.2-fpm: "{{ apt_package_state }}" | |
php7.2-gd: "{{ apt_package_state }}" | |
php7.2-mbstring: "{{ apt_package_state }}" | |
php7.2-mysql: "{{ apt_package_state }}" | |
php7.2-opcache: "{{ apt_package_state }}" | |
php7.2-xml: "{{ apt_package_state }}" | |
php7.2-xmlrpc: "{{ apt_package_state }}" | |
php7.2-zip: "{{ apt_package_state }}" | |
php_extensions_custom: {} | |
php_extensions: "{{ php_extensions_default | combine(php_extensions_custom) }}" | |
php_error_reporting: 'E_ALL & ~E_DEPRECATED & ~E_STRICT' | |
php_display_errors: 'Off' | |
php_display_startup_errors: 'Off' | |
php_max_execution_time: 120 | |
php_max_input_time: 300 | |
php_max_input_vars: 1000 | |
php_memory_limit: 96M | |
php_mysqlnd_collect_memory_statistics: 'Off' | |
php_post_max_size: 25M | |
php_sendmail_path: /usr/sbin/ssmtp -t | |
php_session_save_path: /tmp | |
php_session_cookie_httponly: 'On' | |
php_session_cookie_secure: 'Off' | |
php_upload_max_filesize: 25M | |
php_track_errors: 'Off' | |
php_timezone: '{{ ntp_timezone }}' | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment