I've tried EVERYTHING I can think of.
I created /custombuild/custom/suphp/configure.php5, modified the /custombuild/configure/suphp/configure.php5 to no success.
It's just not there! I can't figure it out for the life of me.
I tried the top 3 steps in http://www.directadmin.com/imap.txt to no avail also.
I created /custombuild/custom/suphp/configure.php5, modified the /custombuild/configure/suphp/configure.php5 to no success.
[root@directadmin custombuild]# grep -R "with-imap" php-5.2.14|grep Makefile
php-5.2.14/Makefile:CONFIGURE_COMMAND = './configure' '--with-apxs2' '--with-curl=/usr/local/lib' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gettext' '--with-jpeg-dir=/usr/local/lib' '--with-freetype-dir=/usr/local/lib' '--with-openssl' '--with-mcrypt' '--with-mhash' '--with-kerberos' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--with-pcre-regex=/usr/local' '--with-pdo-mysql=/usr' '--with-pear' '--with-png-dir=/usr/local/lib' '--with-zlib' '--with-zlib-dir=/usr/local/lib' '--enable-zip' '--with-iconv=/usr/local' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-mbstring' '--with-imap=/usr/lib/dovecot/imap' '--with-imap-ssl'
php-5.2.14/Makefile:CONFIGURE_OPTIONS = '--with-apxs2' '--with-curl=/usr/local/lib' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gettext' '--with-jpeg-dir=/usr/local/lib' '--with-freetype-dir=/usr/local/lib' '--with-openssl' '--with-mcrypt' '--with-mhash' '--with-kerberos' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--with-pcre-regex=/usr/local' '--with-pdo-mysql=/usr' '--with-pear' '--with-png-dir=/usr/local/lib' '--with-zlib' '--with-zlib-dir=/usr/local/lib' '--enable-zip' '--with-iconv=/usr/local' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-mbstring' '--with-imap=/usr/lib/dovecot/imap' '--with-imap-ssl'
[root@directadmin custombuild]# php -i|grep Configure
Configure Command => './configure' '--prefix=/usr/local/php5' '--enable-force-cgi-redirect' '--enable-fastcgi' '--with-config-file-path=/usr/local/etc/php5/cgi' '--with-curl=/usr/local/lib' '--with-gd' '--with-gettext' '--with-jpeg-dir=/usr/local/lib' '--with-freetype-dir=/usr/local/lib' '--with-kerberos' '--with-openssl' '--with-mcrypt' '--with-mhash' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--with-pcre-regex=/usr/local' '--with-pdo-mysql=/usr' '--with-pear' '--with-png-dir=/usr/local/lib' '--with-zlib' '--with-zlib-dir=/usr/local/lib' '--enable-zip' '--enable-gd-native-ttf' '--with-iconv=/usr/local' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-mbstring'
It's just not there! I can't figure it out for the life of me.
I tried the top 3 steps in http://www.directadmin.com/imap.txt to no avail also.