imap into php

microz

Verified User
Joined
Jun 10, 2009
Messages
124
Location
Santiago, Chile
Hi,

I'm looking add imap compiled into php, to this I using this guide https://help.directadmin.com/item.php?id=341

But, for some reason, this not works.

Code:
# cd /usr/local/directadmin/custombuild && ls custom/fpm
configure.php70
# cat custom/fpm/configure.php70
#!/bin/sh
./configure \
	--prefix=/usr/local/php70 \
	--program-suffix=70 \
	--enable-fpm \
	--with-fpm-systemd \
	--with-config-file-scan-dir=/usr/local/php70/lib/php.conf.d \
	--with-curl=/usr/local/lib \
	--with-gd \
	--enable-gd-native-ttf \
	--with-gettext \
	--with-jpeg-dir=/usr/local/lib \
	--with-freetype-dir=/usr/local/lib \
	--with-libxml-dir=/usr/local/lib \
	--with-kerberos \
	--with-openssl --with-imap=/usr/local/imap-2007f --with-imap-ssl \
	--with-mcrypt \
	--with-mhash \
	--with-mysql-sock=/var/lib/mysql/mysql.sock \
	--with-mysqli=mysqlnd \
	--with-pcre-regex=/usr/local \
	--with-pdo-mysql=mysqlnd \
	--with-pear \
	--with-png-dir=/usr/local/lib \
	--with-xsl \
	--with-zlib \
	--with-zlib-dir=/usr/local/lib \
	--enable-zip \
	--with-iconv=/usr/local \
	--enable-bcmath \
	--enable-calendar \
	--enable-ftp \
	--enable-sockets \
	--enable-soap \
	--enable-mbstring \
	--with-icu-dir=/usr/local/icu \
	--enable-intl

Code:
# php -m | grep imap
none
 
Last edited:
Hello,

You did not build PHP or PHP failed to compile with your options, if you succeeded you would see at least:

Code:
'[COLOR=#333333]--with-imap=/usr/local/imap-2007f[/COLOR]' '--with-imap-ssl'

in very top in a line with Configure Command => './configure'
 
Last edited:
Back
Top