summaryrefslogtreecommitdiffstats
path: root/etc/php
diff options
context:
space:
mode:
Diffstat (limited to 'etc/php')
-rw-r--r--etc/php/cli-php8.1/php.ini9
1 files changed, 7 insertions, 2 deletions
diff --git a/etc/php/cli-php8.1/php.ini b/etc/php/cli-php8.1/php.ini
index 04e1c0d..33a1da5 100644
--- a/etc/php/cli-php8.1/php.ini
+++ b/etc/php/cli-php8.1/php.ini
@@ -427,7 +427,7 @@ max_input_time = 60
; Maximum amount of memory a script may consume
; https://php.net/memory-limit
-memory_limit = 256M
+memory_limit = 128M
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
@@ -915,6 +915,12 @@ default_socket_timeout = 60
; Be sure to appropriately set the extension_dir directive.
;
;extension=bz2
+
+; The ldap extension must be before curl if OpenSSL 1.0.2 and OpenLDAP is used
+; otherwise it results in segfault when unloading after using SASL.
+; See https://github.com/php/php-src/issues/8620 for more info.
+;extension=ldap
+
;extension=curl
;extension=ffi
;extension=ftp
@@ -924,7 +930,6 @@ default_socket_timeout = 60
;extension=gmp
;extension=intl
;extension=imap
-;extension=ldap
;extension=mbstring
;extension=exif ; Must be after mbstring as it depends on it
;extension=mysqli