how-to: build php with proper imap support

Trying to get c-client.a in Centos 6.3. How would these instructions be different for Custombuild 2?

Added in /usr/local/directadmin/custombuild/custom/ap2/configure.php5 the 2 lines
--with-imap-ssl \
--with-imap
# ./build php n
 
Ok, solved that
/usr/local/directadmin/custombuild_2/configure/ap2/

But new problem. Still can't get libc-client.a I found it at usr/lib, but it is red font color and I can't do anything with it.
 
Was able to copy the file with
cp -rf [path to file]/libc-client.a /usr/local/imap-2007f/lib/libc-client.a

Went through again and followed sloop's instructions and recompiled php and still no imap installed.

I am using custombuild 2 and have tried adding

--with-imap-ssl \
--with-imap

to

/usr/local/directadmin/custombuild_2/configure/ap2/configure.php54

I even tried making these configure files:
/usr/local/directadmin/custombuild_2/custom/ap2/configure.php54
and
/usr/local/directadmin/custombuild_2/custom/ap2/configure.php5

Still not compiling with IMAP. I hope someone can help me troubleshoot this. I've spent the better part of a day on it already.

If it helps, here is phpinfo http://divinelighting.com/dustin_phpinfo.php
 
Last edited:
ARRRGG!!!

Finally figured out that custombuild_2 is referencing configure.php54 file in the custombuild folder. Guessing that is a bug of some sort. Hope this helps someone else out.

Yes, i am executing ./build php n from custombuild_2
 
Back
Top