ansible-role-php/defaults/main.yml

49 lines
1.4 KiB
YAML
Raw Normal View History

---
# Pass in a comma-separated list of repos to use (e.g. "remi,epel").
php_enablerepo: ""
# Set this to false if you're not using PHP with Apache/Nginx/etc.
php_enable_webserver: true
# Start and enable the PHP fpm service.
php_enable_php_fpm: false
# OpCache settings (useful for PHP >=5.5).
php_opcache_enabled_in_ini: false
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 settings (useful for PHP <5.5).
php_enable_apc: true
php_apc_enabled_in_ini: false
php_apc_cache_by_default: "1"
php_apc_shm_size: "96M"
2015-02-26 21:30:49 +01:00
php_apc_stat: "1"
php_apc_enable_cli: "0"
# If this is set to false, none of the following options will have any effect.
# Any and all changes to /etc/php.ini will be your responsibility.
php_use_managed_ini: true
2015-04-14 07:28:24 +02:00
php_expose_php: "On"
php_memory_limit: "256M"
php_max_execution_time: "60"
2014-11-20 17:52:06 +01:00
php_realpath_cache_size: "32K"
php_upload_max_filesize: "64M"
2015-04-12 19:03:29 +02:00
php_post_max_size: "32M"
php_date_timezone: "America/Chicago"
php_sendmail_path: "/usr/sbin/sendmail -t -i"
php_short_open_tag: false
php_error_reporting: "E_ALL & ~E_DEPRECATED & ~E_STRICT"
php_display_errors: "Off"
php_display_startup_errors: "Off"