471,310 Members | 1,087 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,310 software developers and data experts.

unable to load module

Hi,

I am trying to load the LDAP and the MCrypt module under WinXP and PHP
Version 4.3.7.

The strange thing is that I have several other modules that work just fine:

extension=php_bz2.dll
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_pdf.dll
extension=php_zip.dll

but when I try to load also the ldap or mcrypt module, I get an error that
the module cannot be found.

the logifle says:

PHP Warning: Unknown(): Unable to load dynamic library
'w:/server/php/php_ldap.dll' - The specified module could not be found.\r\n
in Unknown on line 0

the strange thing is 1. that this file is at that location, 2. that the
other files that work are at the same location, 4. whats the "\r\n in
Unknown on line 0"??

what could be wrong there?

thanks

Oliver

Jul 17 '05 #1
1 7152
Oliver Spiesshofer wrote:
PHP Warning: Unknown(): Unable to load dynamic library
'w:/server/php/php_ldap.dll' - The specified module could not be
found.\r\n in Unknown on line 0

the strange thing is 1. that this file is at that location, 2. that
the other files that work are at the same location, 4. whats the
"\r\n in Unknown on line 0"??

what could be wrong there?


The dependencies are not in your path, from the manual:

"Note to Win32 Users: In order to enable this module on a Windows
environment, you must copy several files from the DLL folder of the
PHP/Win32 binary package to the SYSTEM folder of your windows machine. (Ex:
C:\WINNT\SYSTEM32, or C:\WINDOWS\SYSTEM). For PHP <= 4.2.0 copy libsasl.dll,
for PHP >= 4.3.0 copy libeay32.dll and ssleay32.dll to your SYSTEM folder."
JW

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Titus Cheung | last post: by
2 posts views Thread by R | last post: by
2 posts views Thread by Jame Johnson | last post: by
2 posts views Thread by Paul Cheetham | last post: by
3 posts views Thread by =?Utf-8?B?TGV3aXMgTW90ZW4=?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.