Mike's face
Saturday, October 20th, 2018








PHP HowTo 4.3.10

Tuesday January 18, 2005 14:12

This what I have configured at the time of this writing.

This document is not complete, and it's geared towards my customized version of php, but it's got some interesting bits that could be helpful if you're experiencing problems.  Isn't php fun?

Download php, openssl, imap,

$ wget http://ca3.php.net/get/php-4.3.10.tar.bz2/from/ca.php.net/mirror
$ wget http://www.openssl.org/source/openssl-0.9.7e.tar.gz
$ wget ftp://ftp.cac.washington.edu/imap/imap.tar.Z
$ wget http://apache.mirror.mcgill.ca/httpd/httpd-2.0.52.tar.gz

Unpack the components.  (I unpacked mine by cd'ing to ~/tmp and typing all the tar x commands from there.)

For information about building openssl, imap, and apache, check here.

I still have to consolidate my local and server configure scripts, but in the meantime, I'll show both:

My local php configure script:

./configure '--enable-trans-sid' '--with-mysql' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-exif' '--with-gd' '--with-pdflib' '--with-zlib' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-tiff-dir=/usr/local' '--with-imap=/home/mike/tmp/imap-2004a' '--with-imap-ssl' '--with-openssl=/usr/local/ssl/'

My server php configure script:

'./configure' '--enable-trans-sid' '--with-mysql' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-gd' '--with-pdflib' '--with-zlib' '--with-jpeg-dir=/usr' '--enable-exif' '--with-png-dir=/usr' '--with-tiff-dir=/usr' '--with-imap=/root/tmp/imap-2004a' '--with-imap-ssl' '--with-openssl' '--with-curl'

(C) Copyright 2004-2007 Mike Pot