Hi
I'm running an application using PHP Engines and PHP 7.1.
I'm getting the following error:
How do I add IMAP Support to PHP 7.1 used via PHP Engines?
Thanks
I'm running an application using PHP Engines and PHP 7.1.
I'm getting the following error:
Uncaught Exception: Error: Your PHP was not compiled with IMAP support.
*nix users should recompile their PHP with the '--with-imap' flag;
How do I add IMAP Support to PHP 7.1 used via PHP Engines?
Thanks
In Web Server
Share this post:
Responses (3)
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Update:
Used:
yum search imap --enablerepo=*
to find the package I needed.
Then:
yum list sclo-php71-php-imap.x86_64 --enablerepo=* --showduplicates
to find repo.
And finally to install:
yum install sclo-php71-php-imap.x86_64 --enablerepo=centos-sclo-sclo-unverified
After installing ran:
/opt/rh/rh-php71/root/usr/bin/php -m
to verify "IMAP" is loaded.
Andservice httpd restart
But still get in the application:
Uncaught Exception: Error: Your PHP was not compiled with IMAP support.
*nix users should recompile their PHP with the '--with-imap' flag;
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »