ldap_connect error
Posted by: jose.garcia.sanz (---.212-142-154.static.clientes.euskaltel.es)
Date: February 21, 2014 01:00PM

When I trying to execute a bat file on my 64 bits machine which contains

php.exe c:\prueba.php

i am getting the ldap_connect error.

I think is something relationed with These libraries libeay32.dll and ssleay32.

is there a 64 bits version?

Options: ReplyQuote
Re: ldap_connect error
Posted by: RiggsFolly (---.as13285.net)
Date: February 21, 2014 01:04PM

Have you made sure that you have the ldap extension activated ?

Look at \wamp\bin\php\phpX.Y.Z\php.ini This is the file that the PHP CLI uses and not the one used by Apache.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: ldap_connect error
Posted by: Otomatic (Moderator)
Date: February 21, 2014 07:23PM

To avoid some PHP startup errors

From the directory of the active version of PHP: wamp\bin\php\php5.x.y\ copy these dll files

icudt**.dll
icuin**.dll
icuio**.dll
icule**.dll
iculx**.dll
icutest**.dll
icutu**.dll
icuuc**.dll
libeay32.dll
libmhash.dll
libmysql.dll
libsasl.dll
(According PHP version, ** may be 48, 49, 50, 51 or 52)

Into the directory of the active version of Apache: wamp\bin\apache\Apache2.x.y\bin\

Do a Refresh or a Wampserver restart.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.