I'm in need of having PHP built with GD support and it's been a while (Darwin 1.4.1 days, actually) since I've had to do so.
My Xserve (Dual 2GHz G5) is running Mac OS X 10.4.8 Server (Darwin 8.8) and I've already got GD (and its prerequisites: libjpeg, libpng, zlib, etc.) built and working with Perl. So, I've obviously got to build PHP with the '--with-gd' option.
'/SourceCache/apache_mod_php/apache_mod_php-18.4/php/configure' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--with-apxs' '--with-ldap=/usr' '--with-kerberos=/usr' '--enable-cli' '--with-zlib-dir=/usr' '--enable-trans-sid' '--with-xml' '--enable-exif' '--enable-ftp' '--enable-mbstring' '--enable-mbregex' '--enable-dbx' '--enable-sockets' '--with-iodbc=/usr' '--with-curl=/usr' '--with-config-file-path=/etc' '--sysconfdir=/private/etc' '--with-mysql=/usr' '--with-mysql-sock=/var/mysql/mysql.sock'
So, my question is, if I rebuild the same version of PHP will I have to rebuild Apache (again, it's been a while and so I can't remember how the dependancy works)? If not, can I build a new copy with '--prefix=/usr/local' and still have it to work with the built-in apache or will I have to replace the built-in PHP (something I'd like to avoid)?
Or, should I just be building a matching Apache & PHP in /usr/local and modifying the Startup Items and/or launchd jobs? If I rebuild the same versions will that break any of Server Admin.app and serveradmin's functionality?
Thanks for any insight and assistance you can provide,
Morgan Aldridge
--