Skip to content

Commit

Permalink
php ini configuration changes
Browse files Browse the repository at this point in the history
* set ldap.max_links to 5 from unlimited (-1)
* increase some opcache defaults, disable timestamp check
  • Loading branch information
NicolasCARPi committed May 6, 2024
1 parent e8b6a44 commit 5abffe1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/php/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5abffe1

Please sign in to comment.