|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-06-20 22:39 UTC] sniper@php.net
[2005-06-22 21:37 UTC] brian dot bush at alltel dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 14:00:01 2025 UTC |
Description: ------------ We compiled php-4.3.10 --with-ldap and --with-openssl on a solaris box. When we try to call the ldap_start_tls() function, we get an error that says it is undefined: Fatal error: Call to undefined function: ldap_start_tls() in blah blah. It looks like the symbol is not being defined in the php_config.h headers. I tried adding: #define HAVE_LDAP_START_TLS_S 1 In main/php_config.h it breaks the build. In include/php/main/php_config.h it does nothing. What else should we try? --brian Reproduce code: --------------- <?php $ldapconn = @ldap_connect('ldap.company.com'); @ldap_set_option($ldapconn,LDAP_OPT_PROTOCOL_VERSION,3); ldap_start_tls($ldapconn); ?> Expected result: ---------------- Should print nothing to the screen (IE: no errors). Actual result: -------------- Fatal error: Call to undefined function: ldap_start_tls() in ldaptest.php on line 8