Installing Custom PHP4



I was wondering if anyone has messed with installing a custom version of PHP4 on their server? I found on the wiki ( 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:
–with-xml --with-libxml-dir=${INSTALLDIR}
–with-mysql=/usr --with-mysqli

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!