To get these functions to work, you have to compile PHP with --with-imap[=DIR], where DIR is the c-client install prefix. From our example above, you would use --with-imap=/usr/local/imap-2000b. This location depends on where you created this directory according to the description above. Windows users may include the php_imap.dll DLL in php.ini.
Note: Depending on how the c-client was configured, you might also need to add --with-imap-ssl=/path/to/openssl/ and/or --with-kerberos=/path/to/kerberos to the PHP configure line.
WarningThe IMAP extension is not thread-safe; it should not be used with ZTS builds.
What's the output of apt-cache policy php7.0-imap? – fkraiem May 21 '18 at 11:55 yeah sorry to mention i have update recently and i have also updated the server address from the ubuntu update and software. – techgeek May 21 '18 at 12:10. Jul 08, 2020 S22.Imap is a free, easy-to-use and well-documented.NET library component for communicating with and receiving electronic mail from an Internet Message Access Protocol (IMAP) server, written in C#. The API has been designed with ease of use in mind and integrates well with the existing classes of the.NET Framework.
WarningThe IMAP, recode andYAZextensions cannot be used in conjunction, because theyshare the same internal symbols. Note: Yaz 2.0 and above does not suffer from this problem.
gabi3xz at yahoo dot com ¶In centos 7
yum install sclo-php70-php-imap or php71, check your of php version installed with yum list *php7*
To install php-imap on Ubuntu18 try
sudo apt install php-imap
sudo phpenmod imap
# install necessary softwares & update dependencies |
sudo apt-get update |
sudo apt-get install -y software-properties-common curl git |
sudo apt-get dist-upgrade |
# install php 7.2 |
sudo add-apt-repository ppa:ondrej/php |
sudo apt-get update |
sudo apt-get install php7.2 |
# install more php modules and extensions |
sudo apt-get install php7.2-curl php7.2-gd php7.2-imap php7.2-intl php7.2-mbstring php7.2-mcrypt php7.2-mysql php7.2-xml php7.2-zip |
sudo apt-get install php7.2-fpm |
# check you php version |
php -v |
# install latest nginx version |
sudo add-apt-repository ppa:nginx/stable |
sudo apt-get update |
sudo apt-get install nginx |
# check nginx version |
nginx -v |
# install mysql |
sudo apt-get install mysql-server |
# check mysql version |
mysql --version |