[php-src] Issue #23244: Can not set LDAP_OPT_NETWORK_TIMEOUT on php 8.4

From: Date: Thu, 13 Aug 2026 10:05:25 +0000
Subject: [php-src] Issue #23244: Can not set LDAP_OPT_NETWORK_TIMEOUT on php 8.4
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-252598@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/23244 Author: amorebietakoUdala ### Description The following code: ```php8.4 -r ' $ldap=ldap_connect("ldap://127.0.0.1"); var_dump(ldap_set_option($ldap,LDAP_OPT_NETWORK_TIMEOUT,3)); ' ``` Resulted in this output: ``` bool(false) ``` But I expected this output instead: ``` bool(false) ``` LDAP_OPT_PROTOCOL_VERSION doesn't work either. ### PHP Version ```plain PHP 8.4.24 (cli) (built: Jul 30 2026 15:23:13) (NTS) Copyright (c) The PHP Group Built by Ubuntu Zend Engine v4.4.24, Copyright (c) Zend Technologies with Zend OPcache v8.4.24, Copyright (c), by Zend Technologies ``` ### Operating System Ubuntu 24.04

« previous php.bugs (#252598) next »