diff --git a/php.ini-development b/php.ini-development index 4a62b5af60e..70c6b005558 100644 --- a/php.ini-development +++ b/php.ini-development @@ -913,6 +913,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 @@ -922,7 +928,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 diff --git a/php.ini-production b/php.ini-production index 8a1eb9674e2..21627c91424 100644 --- a/php.ini-production +++ b/php.ini-production @@ -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