June 20, 2019, 3:24pm
I have PHPlist 3.4.3 installed and running. However I get “error: IMAP is not included in your PHP installation, cannot continue” when I click “Process Bounces”.
I have IMAP installed and running on my Centos server:
[root@host ~]# netstat -a | fgrep imap
tcp 0 0 0.0.0.0:imap 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:imaps 0.0.0.0:* LISTEN
My config.php settings
$message_envelope = ‘email@example.com’;
$bounce_protocol = ‘pop’;
$bounce_mailbox_host = ' mydomain.org;
$bounce_mailbox_user = ‘firstname.lastname@example.org’;
// the “port” is the remote port of the connection to retrieve the emails
// the default should be fine but if it doesn’t work, you can try the second
// one. To do that, add a # before the first line and take off the one before the
// second line
$bounce_mailbox_port = ‘110/pop3/notls’;
//$bounce_mailbox_port = “110/pop3”;
June 20, 2019, 3:47pm
“error: IMAP is not included in your PHP installation, cannot continue”
You should include IMAP extension to your php.ini (see the “Dynamic Extensions” section).
Welcome to the phpList forum
@duke nailed the answer, I believe.
June 21, 2019, 9:41pm
The answer is correct.
I added “extension=imap.so” to my php.ini file The error message went away.
However, I have another Centos 7 server running the same setup.
php-imap is installed. I checked phpinfo.php for the loaded php.ini, added the extension and restarted apache2. But I still get the same error message.
Is there some other place I need to check?
So php.ini on server 2 says the extension is loaded?
@gscerb if the php imap extension is installed then there will be a section within phpinfo
If you enable Common plugin then you can get the phpinfo output through menu item Config > phpinfo.
June 22, 2019, 2:52pm
Thanks! You pointed me in the right direction.
The php-imap extension was not installed.
I was confusing the installed imap module with the missing imap extension.
August 19, 2019, 11:08pm
Hi, just wondering if I could get some pointers please? Let me know if I should post this else where.
At the Process Bounces page I receive the error:
Error: IMAP is not included in your PHP installation, cannot continue
Check out http://www.php.net/manual/en/ref.imap.php
PHPinfo(); does not give me the output shown above by
php -m does not show the imap module.
PHP 5.6.37-1+ubuntu14.04.1+deb.sury.org+1 (cli)
Copyright © 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright © 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright © 1999-2016, by Zend Technologies
I am running Ubuntu 14.04
PHP5.6 and 7.0 are installed.
phpinfo(); says that I am using
Loaded Configuration File /etc/php/5.6/apache2/php.ini
My install procedure was
apt-get install php5-imap
service apache2 restart
For some reason I still receive the initial error from PHPlist
I am running PHPlist v3.3.6
I have the same error message and trying to troublshoot this I get the following error when clicking phpino:
You don’t have permission to access this resource.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Can anyonoe offer some clues?