Link to home
Start Free TrialLog in
Avatar of chisholmd
chisholmd

asked on

php 5.2.3 - Win2k3 -- Unable to load dynamic library 'C:\PHP\ext\php_imap.dll

C:\php>php -version
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_imap.d
ll' - The specified procedure could not be found.
 in Unknown on line 0
PHP 5.2.3 (cli) (built: May 31 2007 09:37:22)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

Extension loading is an often reported issue from windows users of PHP with plenty of documented remedies.  I have tried pretty much everything I can find with no luck please read below before posting common solutions.

Path environment includes
   c:\php;c:\php\ext

c:\php\PHP.INI includes
   extension_dir ="C:\PHP\ext"
   extension=php_imap.dll

phpinfo reports:
  Loaded Configuration File C:\php\php.ini

Ran depends.exe which reports:
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.

The GUI of depends highlights:
php5ts.dll
_zval_copy_ctor
_zval_dtor

Other info:
 c:\php\ext\php_imap.dll version is 5.0.4.4


Thanks for any help.





Avatar of Rob
Rob
Flag of Australia image

what does phpinfo show under the imap section? I get:
imap
IMAP c-Client Version       2004
SSL Support       enabled

it does look like your using the wrong version of php_imap.dll.  the version should be 5.2.3
ASKER CERTIFIED SOLUTION
Avatar of Rob
Rob
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chisholmd
chisholmd

ASKER

Well that could have been it, I won't know since I decided to try PHP 5.2.2 and managed to get that version to go.

I was about to cancel this question but since you managed to get your reply in, I'll just accept your comment as the solution.

thanks anyway :)

thanks glad you got it working