unable to load module

This is a discussion on unable to load module within the PHP Language forums, part of the PHP Programming Forums category; Hi, I am trying to load the LDAP and the MCrypt module under WinXP and PHP Version 4.3.7. ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-15-2004
Oliver Spiesshofer
 
Posts: n/a
Default 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

Reply With Quote
  #2 (permalink)  
Old 12-15-2004
Janwillem Borleffs
 
Posts: n/a
Default Re: unable to load module

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



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:28 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0