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…”