I have very limited knowledge on LDAP and its configuration and but I have been trying to figure out one issue that takes place when I am running the program that is written in php, but so far its unsuccessful.
The server, I am working on is ldap server, which is running on Apache. After testing program locally (i.e.
PHP (ldap://localhost:10389/) the same was hosted on the web server (Linux Apache server). while running the same program via
PHP http://abc.net:2020/conn.php, it stopped at the "$ldapconn = ldap_connect($host, $port)" and moving to next, and at the same time not providing any error message, therefore, I am unable to find out where the issue is actually taking place.
The program I wrote on php is :
Connecting to ".$host."..........";
$ldapconn = ldap_connect($host, $port)
or die("Could not connect to {$ldaphost}");
echo " Connected Successfully!";
?>
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi..
I have very limited knowledge on LDAP and its configuration and but I have been trying to figure out one issue that takes place when I am running the program that is written in php, but so far its unsuccessful.
The server, I am working on is ldap server, which is running on Apache. After testing program locally (i.e.
PHP (ldap://localhost:10389/) the same was hosted on the web server (Linux Apache server). while running the same program via
PHP http://abc.net:2020/conn.php, it stopped at the "$ldapconn = ldap_connect($host, $port)" and moving to next, and at the same time not providing any error message, therefore, I am unable to find out where the issue is actually taking place.
The program I wrote on php is :
Connecting to ".$host.".........."; $ldapconn = ldap_connect($host, $port) or die("Could not connect to {$ldaphost}"); echo "
Connected Successfully!"; ?>
Thanks in advance.