I keep getting multiple emails every second saying : "osTicket Requires PHP IMAP extension enabled for IMAP/POP3 email fetch to work!"I double checked and I have IMAP installed and it is enabled... I restarted my POP3 and IMAP services on my Exchange server.. still happening. Anyone have a solution?????

Please see:Please read before requesting assistanceThen reply with the information requested.  That will help us.Iincidentally, it's not IMAP that it's asking for. It's asking for the "PHP IMAP extension".  I can't tell you how to add that, without knowing the info about your system.Jack

Short version is you need to install or enable PHP IMAP in your php.ini.  How to do so varies by webserver host OS.If your webserver is linux you need to install php5_imap.apt-get install php5_imapIf your webserver is windows you just need to uncomment or add the following line to your php.iniextension=php_imap.dllEither way you need to restart the webserver software. (Apache/Apache2/nginx/IIS etc.)

I've ran these commands multiple times with no errors and still getting the same emails flooding in.sudo apt-get install php5-imapsudo php5enmod imapsudo service apache2 restart

If you would, PLEASE readPlease read before requesting assistanceand then do like it says: "A great way to get all the software version information is to log into your osTicket and go to Admin Panel -> Dashboard -> Information."Post a screen shot of this page.Then run:$> rpm -q php5-imapand$> rpm -q php-imapThen post the output here.Thanks.Jack

So I ran that command and it says "PHP5-Imap service not installed" So I went through the apt-get install commands and the enmod imap command, restarted my apache2 service and ran the rpm -q php5-imap command again and still says that php5-imap is not installed... which is not true. Also, I do not see an information tab under Dashboard... this is what I have..Also, While I'm getting flooded with messages saying that my php5-imap extension isn't installed... It can still fetch other tickets that have been created in the meantime and then goes back to flooding me with emails saying the extension isn't enabled.... i don't get it.

s.PNG

Sorry didn't see the admin panel part....

s.PNG

What about rpm -q php-imap ? (or the apt-get equivalent, sorry I just noticed you're on Ubuntu).My CentOS server did not have php5-imap, but has simply php-imap and works fine.Jack

Unable to find php-imap.... only locates php5-imap.

...and still says that php5-imap is not installed... which is not true.

I'm confused. This told you it is not installed, but you say that it IS installed.Unable to find php-imap.... only locates php5-imap.

What only locates php5-imap?Jack

5 years later

Hi, recently I upgraded (with a new install) my Centos from version 7 to 8.
I need install composer so this take some times and some errors that I need to resolve, during this process maybe a command install PHP CLI create the error with OsTicket: osTicket requires PHP IMAP extension enabled for IMAP/POP3 email fetch to work!

After some research i discover in Centos the PHP for CLI installed is version 7.2 and seems there is no repo on Centos 8 for the php-imap extension... in fact searching on the web commands for install the extension give the errors not found.

Finally I was only able to solve with some commands consulting the following articles:
https://www.itzgeek.com/how-tos/linux/centos-how-tos/how-to-install-php-7-3-on-rhel-8.html
https://forums.centos.org/viewtopic.php?t=72195#p303562

I'm surprised to see such issue on Centos 8.

Write a Reply...