title: IMAP enabled, but functions undefined?
body: <p>One of our email parsing scripts is having a problem using imap functions:</p>
  
  <blockquote>
    <p>Fatal error: Call to undefined
    function imap_open()</p>
  </blockquote>
  
  <p>IMAP is definitely enabled, it was compiled with php and shows up in the phpinfo() and when doing <code>get_loaded_extensions()</code> or <code>extension_loaded("imap")</code> Is there any reason why these functions may not be accessible?</p>
  
  <p>IMAP version is 2007e and PHP is 5.3.</p>
  
  <p>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.</p>
  
  <p>The way it is setup worked before a PHP update - is there any reason for it to stop working? I know I <em>could</em> 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?</p>