wiki:php

Version 2 (modified by Jaap Struyk, 15 years ago) ( diff )

--

PHP

Up
Top

To add imap support to php download the uw-imap package from: wget ftp://ftp.cac.washington.edu/imap/imap.RELEASE.tar.Z Unpack it and edit src/osdep/unix/Makefile to amtch some entrys according to his: SSLDIR=/usr SSLCERTS=/etc/certs SSLKEYS=$(SSLCERTS) SSLINCLUDE=$(SSLDIR)/include SSLLIB=$(SSLDIR)/lib and SPOOLDIR=/var/spool MAILSPOOL=/var/mail NEWSSPOOL=/var/news Now build the package:

make slx
mkdir /usr/lib/c-client
mkdir /usr/lib/c-client/include
mkdir /usr/lib/c-client/lib
cp c-client/c-client.a /usr/lib/c-client/lib
ln -s /usr/lib/c-client/c-client.a /usr/lib/c-client/libc-client.a
ln -s /usr/lib/c-client/c-client.a /usr/lib/c-client/libc-client4.a
cp c-client/*.h /usr/lib/c-client/include

Now build php according to the book and add "--with-imap=/usr/lib/c-client" to the configure line.

Note: See TracWiki for help on using the wiki.