Im having trouble configuring my machine to work on the subject.

OS: Redhat9
PHP: 4.4.0
config command from phpinfo(): './configure' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-module=rewrite' '--enable-ldap' '--with-mysql' '--with-pear' '--with-zlib' '--with-config-file-path=/etc' '--with-pear' '--with-gettext' '--enable-ftp' '--with-openssl' '--with-curl'
Ldap:  openldap-2.2.26
      *followed the openldap admin manual and works well.
SquirrelMail: 1.4.5

created a ldaptest.php
<pre>

<?php
$ldaphost = "ldapmachine";
$ldapport = 389;               

$ldapconn = ldap_connect($ldaphost, $ldapport)
         or die("Could not connect to $ldaphost");

?>

</pre>

shows  Fatal error: Call to undefined function: ldap_connect()

whats seems to be the problem...


--
Elmer Rivera
eNum: +878107472468579
Linux Registered User #379418
Vizcayano.com
Stop Software Patents: http://noepatents.eu.org/

"In a world without fences or walls, there's no need for Gates or Windows."
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to