One of our email parsing scripts is having a problem using imap functions:
Fatal error: Call to undefined function imap_open()
IMAP is definitely enabled, it was compiled with the php and shows up in the phpinfo() and when doing get_loaded_extensions()
or extension_loaded("imap")
Is there any reason why these functions may not be accessible?
IMAP version is 2007e and PHP is 5.3.
Edit 1: This is running on a mac server (OSX 10.5.7) the script using the imap function is in /var/***/ I tried putting a test file in /Library/WebServer/Document (the web root) using imap_open with the exact same details and it seems to work.
The way it is setup worked before a PHP update - is there any reason for it to stop working? I know I could move the email script into the webserver documents dir but I would also like to know why it would stop working the way it was before - could it be the way php is configured?