New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

How to enable php-imap?

Started by crow31, March 08, 2019, 05:39:07 PM

Previous topic - Next topic

crow31

Hello,
I have rebuild PHP and PHP-FPM with IMAP but WHMCS can't detect that IMAP is installed.

Is there any special requirement for that. I also have tried to build it manually but no luck.

Can anyone help please?

Netino

You must check the return of the function "phpinfo()" if the 'imap' is installed, in the same directory of your installation, if imap is recognized:


<?
phpinfo();
?>


Or to check if IMAP is installed in command line PHP use:

# php --ri imap


Regards,
Netino

crow31

Protocols   dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp

I have this line only related to imap and another line of the author name

Netino

Your report is about your software "can't detect that IMAP is installed."
Your software is claiming just about imap module in php, not about protocol imap.

If you don't have imap installed in php, your php software cannot talk in imap protocol.

crow31

If thats true then how can I install it? I can select imap for php and php-fpm configuration. but still not working.

Netino

Ideally, would sufficient to configure it at php swticher to your php version.
But seems we still have problems configuring users in php-fpm.

Check this thread:
https://forum.centos-webpanel.com/updates/php-fpm-enable/

It still is open.