Author Topic: php_ldap extension windows 7 64bit  (Read 1375 times)

ItBHarsH

  • New Member
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
php_ldap extension windows 7 64bit
« on: November 28, 2011, 04:41:53 PM »
PHP 5.3.8 (zip extract install)
Apache 2.2.19
Windows 7 64bit

I'm having issues getting the php_ldap.dll extension to work on my Windows 7 64bit pc.  I've read several posts with different way to get this extension to work, but I can not get anything other than the following error.

"Fatal error: Call to undefined function ldap_connect()..."

A phpinfo page does not show this extension.  I can enable/disable other extensions such as curl.

Some of the things I've tried are as follows:
* Added php dir to Windows path.
* Tried combinatios of thread safe and non-thread safe versions of the entire php install and individual extesion dll files.
* Copied related dlls (ssleay32.dll, libeay32.dll) to Windows dir.

I have display_errors and display_startup_errors enabled in my php.ini but do not receive any errors other than the following warning about trusting the system timezone for the date function called by phpinfo.

"Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for '-6.0/no DST' instead in..."

ItBHarsH

  • New Member
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: php_ldap extension windows 7 64bit
« Reply #1 on: December 02, 2011, 12:29:08 PM »
ideas?

jSherz

  • Expert PHP Helper
  • Senior Member
  • *****
  • Posts: 409
  • Karma: 4
    • View Profile
    • jSherz.com
Re: php_ldap extension windows 7 64bit
« Reply #2 on: January 06, 2012, 01:33:29 PM »
Do you have a line including the extension in your php.ini config file?
Looking for PHP tutorials? View mine. Please use code or PHP tags in your posts.