Problems with ldap_connect
| From: | Stewart Dean | Date: | Wed, 02 Oct 2002 15:56:12 +0000 |
| Subject: | Problems with ldap_connect | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8639@lists.php.net to get a copy of this message | ||
Environment:
AIX 5.1, Apache 1.3.20 (with mod_so.c commpiled in), PHP 4.2.2 (configure command: ./configure' '--with-apxs=/usr/HTTPServer/bin/apxs' '--with-ldap=/usr/ldap')
We have been unning PHP code on Solaris, now we want to get it running on AIX. I recently got php up and running with the above environment but the web developer is having trouble with some simple code that should work (and has on Solaris)...so there's something not right with my install/initial config..
If I create a file with the line
<?php echo "test"; ?>
it works fine and puts out the word test
<?php phpinfo() ?>
works as expected
However....
If I add an ldap_connect call to the first testcase:
<?php echo "test"; $ldap = ldap_connect("ldap.bard.edu"); echo $ldap ?>
I get an alert popup saying "the page has no data"
Can anyone give me a clue as to what is happening, what further roblem resolution I should be doing or where I might go if not here with this?????
--
====
Stewart Dean, Unix System Admin, Henderson Computer Resources
Center of Bard College, Annandale-on-Hudson, New York 12504
sdean@bard.edu voice: 845-758-7475, fax: 845-758-7035