Changes between Version 1 and Version 2 of php


Ignore:
Timestamp:
05/30/2007 11:39:18 AM (15 years ago)
Author:
Jaap Struyk
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • php

    v1 v2  
    33[wiki:Programming Up][[br]]
    44[wiki:BlfsNotes Top]
     5
     6To add imap support to php download the uw-imap package from:
     7wget ftp://ftp.cac.washington.edu/imap/imap.RELEASE.tar.Z
     8Unpack it and edit src/osdep/unix/Makefile to amtch some entrys according to his:
     9SSLDIR=/usr
     10SSLCERTS=/etc/certs
     11SSLKEYS=$(SSLCERTS)
     12SSLINCLUDE=$(SSLDIR)/include
     13SSLLIB=$(SSLDIR)/lib
     14and
     15SPOOLDIR=/var/spool
     16MAILSPOOL=/var/mail
     17NEWSSPOOL=/var/news
     18Now build the package:
     19
     20{{{
     21make slx
     22mkdir /usr/lib/c-client
     23mkdir /usr/lib/c-client/include
     24mkdir /usr/lib/c-client/lib
     25cp c-client/c-client.a /usr/lib/c-client/lib
     26ln -s /usr/lib/c-client/c-client.a /usr/lib/c-client/libc-client.a
     27ln -s /usr/lib/c-client/c-client.a /usr/lib/c-client/libc-client4.a
     28cp c-client/*.h /usr/lib/c-client/include
     29}}}
     30
     31Now build php according to the book and add "--with-imap=/usr/lib/c-client" to the configure line.