From 051ac1541a591be61157108b7f44827373840a08 Mon Sep 17 00:00:00 2001 From: Philipp Dallig Date: Mon, 18 Jan 2016 11:19:27 +0100 Subject: [PATCH] add default values for wordpress --- classes/site::profile::wordpress.yaml | 41 +++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 classes/site::profile::wordpress.yaml diff --git a/classes/site::profile::wordpress.yaml b/classes/site::profile::wordpress.yaml new file mode 100644 index 00000000..4871bdf8 --- /dev/null +++ b/classes/site::profile::wordpress.yaml @@ -0,0 +1,41 @@ +--- +php::extensions: + gd: {} +# xml: {} + opcache: {} + mysqlnd: {} +# suhosin would be nice +# suhosin: +# settings: +# suhosin.request.max_varname_length: 200 +# suhosin.post.max_name_length: 200 +# suhosin.get.max_name_length: 200 +# suhosin.get.max_value_length: 2000 +# suhosin.executor.include.whitelist: 'phar,vfs' + +# Do not use this key in an other location (customer) +wordpress_project: + wordpress: + servername: wordpress-dummy + +# Do not use this key in an other location (customer) +php_admin_value: + error_log: /var/log/php-fpm/%{php_fpm_pool_name}-error.log + memory_limit: 128M + upload_max_filesize: 20M + post_max_size: 20M + max_execution_time: '240' + +# Do not use this key in an other location (customer) +directories: + - directory_docroot: + provider: 'directory' + path: "%{docroot}" + addhandlers: + - { handler: "proxy:%{unix_socket_path}|fcgi://./" , extensions: '.php' } + options: + - FollowSymLinks + - MultiViews + allow_override: + - All + directoryindex: 'index.php' -- 2.39.5