Installing Custom PHP4

Installing Custom PHP4

Posted by: briandichiara
Posted on: 2006-03-31 22:14:00

I was wondering if anyone has messed with installing a custom version of PHP4 on their server? I found on the wiki (http://wiki.dreamhost.com/index.php/Installing_PHP4) an installation script, and I think i understand it enough to be able to add ImageMagick, MagickWand and GhostScript, but there's one part I'm not too sure about.

Where it says: # What PHP features do you want enabled?
Below it, there's a bunch of stuff:
PHPFEATURES="--prefix=${INSTALLDIR}
--with-config-file-path=${INSTALLDIR}/etc/php4
--enable-force-cgi-redirect
--with-xml --with-libxml-dir=${INSTALLDIR}
--with-freetype-dir=${INSTALLDIR}
--enable-soap
--with-xsl=${INSTALLDIR}
--with-openssl=/usr
--with-mhash=${INSTALLDIR}
--with-mcrypt=${INSTALLDIR}
--with-zlib-dir=${INSTALLDIR}
--with-jpeg-dir=/usr
--with-png-dir=/usr
--with-gd
--enable-gd-native-ttf
--enable-ftp
--enable-sockets
--enable-wddx
--with-iconv=${INSTALLDIR}
--enable-sqlite-utf8
--enable-calendar
--with-curl=${INSTALLDIR}
--enable-mbstring
--enable-mbregex
--with-mysql=/usr --with-mysqli
--with-imap=${INSTALLDIR}"

Do I need to add something in there to get my 3 additional scripts to work properly?

I tried reading around on the sites for those 3 features, but didn't really know what to look for. Any help would be greatly appreciated!

_Brian.

Tags: dreamhostimagemagickphp4usrsqlitezlibhttpwikilibxmlfreetypephpaddenable ftpfile pathinstallation scriptutf8ttfopenssl