From f53f3c8e7a5fdf0d8302c48299d779efa3e29e04 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 6 Mar 2017 12:53:17 +0200 Subject: [PATCH] roles/php-fpm: Update php7.0-php.ini template Sync with latest packaged version from Debian 9. Effectively this only updates comments and disabled options, but having less changes to look at during an apt upgrade is nice and reduces the chance of adding errors. --- roles/php-fpm/templates/php7.0-php.ini.j2 | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/roles/php-fpm/templates/php7.0-php.ini.j2 b/roles/php-fpm/templates/php7.0-php.ini.j2 index 2215465..d7fcfbf 100644 --- a/roles/php-fpm/templates/php7.0-php.ini.j2 +++ b/roles/php-fpm/templates/php7.0-php.ini.j2 @@ -1186,6 +1186,19 @@ mysqlnd.collect_statistics = On ; http://php.net/mysqlnd.collect_memory_statistics mysqlnd.collect_memory_statistics = Off +; Records communication from all extensions using mysqlnd to the specified log +; file. +; http://php.net/mysqlnd.debug +;mysqlnd.debug = + +; Defines which queries will be logged. +; http://php.net/mysqlnd.log_mask +;mysqlnd.log_mask = 0 + +; Default size of the mysqlnd memory pool, which is used by result sets. +; http://php.net/mysqlnd.mempool_default_size +;mysqlnd.mempool_default_size = 16000 + ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes. ; http://php.net/mysqlnd.net_cmd_buffer_size ;mysqlnd.net_cmd_buffer_size = 2048 @@ -1195,6 +1208,15 @@ mysqlnd.collect_memory_statistics = Off ; http://php.net/mysqlnd.net_read_buffer_size ;mysqlnd.net_read_buffer_size = 32768 +; Timeout for network requests in seconds. +; http://php.net/mysqlnd.net_read_timeout +;mysqlnd.net_read_timeout = 31536000 + +; SHA-256 Authentication Plugin related. File with the MySQL server public RSA +; key. +; http://php.net/mysqlnd.sha256_server_public_key +;mysqlnd.sha256_server_public_key = + [OCI8] ; Connection: Enables privileged connections using external @@ -1785,6 +1807,7 @@ opcache.revalidate_freq={{ opcache_revalidate_freq }} opcache.save_comments={{ opcache_save_comments }} ; If enabled, a fast shutdown sequence is used for the accelerated code +; Depending on the used Memory Manager this may cause some incompatibilities. opcache.fast_shutdown={{ opcache_fast_shutdown }} ; Allow file existence override (file_exists, etc.) performance feature. @@ -1863,6 +1886,12 @@ opcache.fast_shutdown={{ opcache_fast_shutdown }} ; This should improve performance, but requires appropriate OS configuration. ;opcache.huge_code_pages=1 +; Validate cached file permissions. +; opcache.validate_permission=0 + +; Prevent name collisions in chroot'ed environment. +; opcache.validate_root=0 + [curl] ; A default value for the CURLOPT_CAINFO option. This is required to be an ; absolute path.