Elmer Rivera wrote:
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...
php-ldap package is needed....
--
Peter Santiago [EMAIL PROTECTED]
My website: www.psinergybbs.com
My spamtrap address: [EMAIL PROTECTED]
_________________________________________________
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