summaryrefslogtreecommitdiffstats
path: root/etc/php
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-03-07 17:33:17 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-03-07 17:33:17 +0100
commit07b25711d3e7cd95f2acc4f63d013bf814d95f5d (patch)
tree4cf1dc328ed6ba6069c3a67118dcb074a281fdb6 /etc/php
parentposodobi.sh autounmask revert (diff)
downloadn-07b25711d3e7cd95f2acc4f63d013bf814d95f5d.tar
n-07b25711d3e7cd95f2acc4f63d013bf814d95f5d.tar.gz
n-07b25711d3e7cd95f2acc4f63d013bf814d95f5d.tar.bz2
n-07b25711d3e7cd95f2acc4f63d013bf814d95f5d.tar.lz
n-07b25711d3e7cd95f2acc4f63d013bf814d95f5d.tar.xz
n-07b25711d3e7cd95f2acc4f63d013bf814d95f5d.tar.zst
n-07b25711d3e7cd95f2acc4f63d013bf814d95f5d.zip
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