Link to home
Start Free TrialLog in
Avatar of lazyelm
lazyelm

asked on

loading extensions ---php_imap.dll

I cannot get php to load the php_imap.dll extension

i have uncommented it and placed it in the php directory.  I have also copied it to winnt\system32

i have tried every path for extension_dir = i can think of

any ideas
Avatar of Michael701
Michael701
Flag of United States of America image

view your phpinfo() for the active paths and other settings. i'm not sure, but if it's correctly setup there may be a imap section.

<?php phpinfo() ?>
Avatar of lazyelm
lazyelm

ASKER

did that.  i can change the extension dir path and it shows up in php info.  Problem is I always get the message something like cannot find module or invalid procedure call...cannot find module php_imap.dll with the current path at the beginning
my php_imap.dll is in c:\php\extensions directory

when i uncomment the line, my php pages stop all together. not sure about that, i figure it might be cause imap is not running on the machine.
ASKER CERTIFIED SOLUTION
Avatar of Michael701
Michael701
Flag of United States of America 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 lazyelm

ASKER

here are the 2 exact errors i get:

"The procedure entry point file_globals_id could not be located in the dynamic link library php4ts.dll"

and

"Unkown():  Unable to load dynamic library './php_imap.dll' - The specified procedure could not be found."

I have renamed security.dll like you said.

Theses 2 errors are the same no matter what I have tried so far.
Avatar of lazyelm

ASKER

Error:
you've just upgraded to php 4.3 and when you try to include extensions (either by uncommenting them in php.ini or by using dl("php_gd.dll") you get two errors.  The first is a pop up box from Windows that says something like: "The prodecure entry point zend_list_find couldnt be located in the dynamic link library php4ts.dll"
<br>
The second is from your webserver/php and says "Unable to Load dynamic library 'c:\apache\php4\extensions\php_gd.dll' - the specified procedure couldn't be found."
<br><br>
Reason for Error<br>
you are using old dlls that worked for the previous version of php but not for 4.3.
<br><br>
Solution:<br>
Easy enough - just copy all the dll files from the php 4.3 zip file you just downloaded (they're in the 'extensions' directory) and overwrite the dll files from your previous version of php.
<br>
seems simple, but this solution cost about 2 hours of my life.



Have to make sure to upgrade the php4ts.dll that the webserver loads .....grr it was in my webserver directory not php for some reason.  but it works now...thanks
Avatar of lazyelm

ASKER

i am trying to give ya the points but it keep ssaying you may not accept this answer---on any of your 3 comments...
Avatar of lazyelm

ASKER

oops it worked, never mind