I am having problems installing the php_imap.dll extension for a webserver running apache and php 5.2.6 on windows server 2003 r2.
I have other extensions installed so I know the basics. I have confirmed that my php.ini file is pointing the the right extension directory. This is in my php.ini config
extension=php_gd2.dll
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_imap.dll
and I put the php_imap.dll in the /ext folder of apache where the others are located.
Then in the php error log I get:
12-Jan-2012 10:09:48] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\ext\php_imap.dll' - The specified procedure could not be found.
I think the issue is I have the wrong version of the php_imap.dll. The version I have is from my windows workstation that is running wamp against php version 5.3. and this works. But when I copy that same .dll to the server runnning a different version of php it does not work. Does anyone know where I can find the correct version of the php_imap.dll?
http://us3.php.net/manual/en/install.pecl.windows.php
At the above site they say I should download the correct version, and some dlls are listed, but not the one that I need.
PHP API 20041225
Thread Safety enabled
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" "--with-extra-includes=C:\Program Files (x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\MFC\INCLUDE" "--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\VC98\MFC\LIB"