Re: LDAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alain Roger wrote:
> Hi,
> 
> I have a stupid issue with ldap_connect.
> 
> i've reinstalled PHP, postgreSQL and restore my data (web files) after
> reinstalling my PC.
> now, when i try : $ds = ldap_connect($ldaphost, $ldapport) or die("Could not
> connect to $ldaphost");
> 
> nothing works.
> i wrote before error_reporting(E_ALL); in order to check which error message
> i get, but nothing is return as error.
> 
> what could be the problem ?


Silly question but is the PHP you installed exactly the same as the
previous one or did you select a different package? Perhaps PHP is
compiled without ldap support or perhaps you've not installed the
subpackage needed to enable ldap support. For me I have to install
php-ldap subpackage.

I would expect to see a fatal error saying no such function etc. so this
is perhaps not the problem, but worth a look.

Col

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux