From 9416186ff1afb4d604721470be1247ea3e0bbb70 Mon Sep 17 00:00:00 2001 From: Jakub Zelenka Date: Thu, 24 Nov 2022 11:09:46 +0000 Subject: [PATCH] Add a note to php.ini-* regarding the required order for GH-8620 --- php.ini-development | 7 ++++++- php.ini-production | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/php.ini-development b/php.ini-development index 604059bfb68..a963e0d62ec 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 b39a960f302..0864b40c604 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