We help IT Professionals succeed at work.

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

chisholmd
chisholmd asked
on
1,172 Views
Last Modified: 2008-07-19
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.





Comment
Watch Question

RobOwner (Aidellio)
CERTIFIED EXPERT
Most Valuable Expert 2015

Commented:
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
Owner (Aidellio)
CERTIFIED EXPERT
Most Valuable Expert 2015
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
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 :)

RobOwner (Aidellio)
CERTIFIED EXPERT
Most Valuable Expert 2015

Commented:
thanks glad you got it working
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.