Building PHP with GD...
Building PHP with GD...
- Subject: Building PHP with GD...
- From: Morgan Aldridge <email@hidden>
- Date: Sat, 7 Apr 2007 12:03:58 -0400
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.
Since I'm running the built-in Apache & PHP, PHP is version 4.4.1
(last updated in Darwin 8.6; http://www.opensource.apple.com/
darwinsource/10.4.6.ppc/apache_mod_php-18.4/) and was built with the
following configure command:
'/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
--
email@hidden
http://www.makkintosshu.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden