From 5abffe155fdd414c8dd6b79994d4d5138148f827 Mon Sep 17 00:00:00 2001 From: Nicolas CARPi Date: Mon, 6 May 2024 22:15:18 +0200 Subject: [PATCH] php ini configuration changes * set ldap.max_links to 5 from unlimited (-1) * increase some opcache defaults, disable timestamp check --- src/php/php.ini | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/php/php.ini b/src/php/php.ini index f7be3b1..e61618d 100644 --- a/src/php/php.ini +++ b/src/php/php.ini @@ -491,8 +491,14 @@ zend.assertions = -1 [ldap] ; Sets the maximum number of open links or -1 for unlimited. -ldap.max_links = -1 +ldap.max_links = 5 [opcache] ; Determines if Zend OPCache is enabled opcache.enable=1 +; default: 128 maximum memory that OPcache can use to store compiled PHP files +opcache.memory_consumption=256 +; default: 10000 maximum number of files that can be stored in the cache +opcache.max_accelerated_files=20000 +; don't check timestamps, in prod php files are never modified +opcache.validate_timestamps=0