Author Topic: How to enable php-imap?  (Read 10522 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to enable php-imap?
« on: March 08, 2019, 05:39:07 PM »
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?

Offline
***
Re: How to enable php-imap?
« Reply #1 on: March 09, 2019, 03:20:35 AM »
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:

Code: [Select]
<?
phpinfo();
?>

Or to check if IMAP is installed in command line PHP use:
Code: [Select]
# php --ri imap

Regards,
Netino

Offline
*
Re: How to enable php-imap?
« Reply #2 on: March 09, 2019, 09:44:54 PM »
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

Offline
***
Re: How to enable php-imap?
« Reply #3 on: March 10, 2019, 04:48:09 AM »
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.

Offline
*
Re: How to enable php-imap?
« Reply #4 on: March 10, 2019, 02:30:00 PM »
If thats true then how can I install it? I can select imap for php and php-fpm configuration. but still not working.

Offline
***
Re: How to enable php-imap?
« Reply #5 on: March 11, 2019, 12:20:06 AM »
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.