Answer the question
In order to leave comments, you need to log in
How to connect ldap to php 7?
Opened a line with php_ldap.dll in Extensions ( extension=php_ldap.dll )
There is a file in the directory: ssleay32.dll, libeay32.dll
Reloaded Apache
But when trying to connect, the error still appears:
Fatal error: Uncaught Error: Call to undefined function ldap_connect( ) in the path to the script file:2 Stack trace: #0 {main} thrown in the path to the script file on line 2
The script itself:
<?php
$ldap_con = ldap_connect("here is my url");
if (ldap_bind($ldap_con, $ldap_dn, $ldap_password)) {
echo 'ez';
}
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question