Imap PHP Problem

nridgway

Verified User
Joined
Jan 22, 2013
Messages
8
I've read a few tutorials about getting Imap working within PHP and it went smoothly, but I've just installing VTiger and it says 'Imap Support:No', is there any way to check to see if installed properly?
N.
 
The only mention of IMAP I get in there is under the Curl section:

Protocols dict, file, ftp, ftps, gopher, http, https, imap, imaps, pop3, pop3s, rtsp, smtp, smtps, telnet, tftp

Is that correct?
 
Is that correct?

No, you looking for this section:

nV0O28F.png
 
chatwizrd - Thats the guide I used, I'll redo it and see if it works. Thanks for the help.
 
REtried but now getting an error when getting to the ./build php stage:

configure: error: cannot find imap library (libc-client.a). Please check your c-client installation

I Installed it via the guide with:

yum install libc-client libc-client-devel

Everything seemed to go ok.

Any advice?
 
I tried the advice in chatwizrd secondlink but still no imap - doesn't seem like the yum command is installing anything.
 
follow build instruction on first post here :

http://forum.directadmin.com/showthread.php?t=41879

or in just like this :

Code:
cd /usr/local
wget ftp://ftp.cac.washington.edu/imap/c-client.tar.Z
tar xvfz c-client.tar.Z 
cd imap-2007f

edit source files

edit src/osdep/unix/os_art.c and src/osdep/unix/os_sv2.c in an editor,

find this:
Code:
#define	FD_SETSIZE	256
change it to:
Code:
#define	FD_SETSIZE	32768

openssl symlink

you should already have openssl and openssl-dev packages installed, but no /usr/local/ssl directory. run:

Code:
ln -s /usr/lib64/openssl/engines/ /usr/local/ssl
ln -s /usr/include/ /usr/local/ssl/include

then run :
Code:
make lnp SSLTYPE=unix EXTRACFLAGS=-fPIC

find your needed files here :

c-client/ with
Code:
ls c-client

and copy the file :
Code:
cp c-client/libc-client.a /usr/lib/
cp c-client/libc-client.a /usr/lib64/
 
Back
Top