hi there,I'm getting an error "osTicket requires PHP IMAP extension enabled for IMAP/POP3 email fetch to work!" whenever the cronjob is run.  I'm using a gmail account for the help desk address.  I've tried both IMAP & POP3 to retrieve.Attached is a screenshot of my admin / information page.  It does look like php-imap is installed and active.  IMAP shows up just fine in a phpinfo() page as well.  I've searched through previous discussions with the same error, and they seem to indicate that the IMAP extension isn't installed for php. Anyone have any ideas? Edit:  Doesn't seem to show the attachment, so here it is:  http://i.imgur.com/HOGln8Z.png

Screen Shot 2014-08-21 at 1.36.33 PM.png

Have you tried to manually run the cron file?  imap does need to be enabled.Often times the CLI version of PHP utilizes a different (or separate) php.ini file.  So just because the web page version says that its enabled does not mean that it is actually enabled.  This is especially true if you have more than one version of PHP installed.

Hi ntozier,Thanks for the pointer.  You were right!  Running php -m showed that imap was not installed for the CLI version of PHP, while phpinfo() showed that it was installed for the Apache version.For anyone finding this thread in the future, in my case (Ubuntu 14.04.1), the file I had to edit was /etc/php5/cli/php.ini.  I just addedextension=imap.so to the end of it, and all is working now.Thanks for you help, it is appreciated!

Great!  I'll mark this thread as resolved and close the thread.Please feel free to start a new thread if you have another question.

Write a Reply...