note 71352 added to ref.imap
| From: | Marplatense at osu1 dot php dot net | Date: | Thu, 23 Nov 2006 16:52:36 +0000 |
| Subject: | note 71352 added to ref.imap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-120028@lists.php.net to get a copy of this message | ||
Compiling php with support for imap on a linux 64 bits server (tested with php 5.1.6, php 5.2.0,
CentOS 4.4 64 bits and c-client snap 0611201609):
1- download the imap from ftp.
# tar -zxvf imap-2006d.DEV.tar.Z
# cd imap-2006d.DEV.SNAP-0611201609/
# vim MakeFile
2- Search for "EXTRACFLAGS=" and add -fPIC at then end:
before EXTRACFLAGS=
after EXTRACFLAGS=-fPIC
3- save the file and quit
# make lrh
# cd c-client/
# cp /.../imap-2006d.DEV.SNAP-0611201609/c-client/c-client.a
/.../imap-2006d.DEV.SNAP-0611201609/c-client/libc-client.a
4- navigate to your php directory and:
# ./configure ... lots of options here and ... --with-imap=/.../imap-2006d.DEV.SNAP-0611201609
--with-imap-ssl
# make
# make install
Additional notes:
a- I choose "lrh" in the make but you might check what's yours option.
b- I made it with ssl support and because of this I added the --with-imap-ssl in the php configure
option. You might make it with no SSL
----
Server IP: 201.216.232.3
Probable Submitter: 201.231.51.186
----
Manual Page -- http://www.php.net/manual/en/ref.imap.php
Edit -- https://master.php.net/note/edit/71352
Del: integrated -- https://master.php.net/note/delete/71352/integrated
Del: useless -- https://master.php.net/note/delete/71352/useless
Del: bad code -- https://master.php.net/note/delete/71352/bad+code
Del: spam -- https://master.php.net/note/delete/71352/spam
Del: non-english -- https://master.php.net/note/delete/71352/non-english
Del: in docs -- https://master.php.net/note/delete/71352/in+docs
Del: other reasons-- https://master.php.net/note/delete/71352
Reject -- https://master.php.net/note/reject/71352
Search -- https://master.php.net/manage/user-notes.php