GD 2 on Mac OS X Server 10.4?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi all,

I'm in the process of setting up a PowerMac G4 Dual 1.25 as an
Expression Engine ( ) development server.  

All is going well, except GD/GD 2 support. OS X Server does not come
with GD 2 support out of the box. So I did some digging around, and
found others with the same problem.

The common advice from almost everybody, has been to run Marc Linyage's
PHP 5 installer from
This however, resulted in Apache not working, so I had to uninstall it
again, and restore the httpd.conf file from backup.

I then turned to Fink, at

Fink downloaded and installed GD 2 plus all of the GD libraries fine,
but now I have no idea how to tell PHP and/or Apache, that the GD 2
libraries are installed.

Can anyone help me do that?

If anyone needs to see the PHP configuration of my server - the result
you get when you run this code:
Please mail me, and I'll send you the link.

Tboelskifte AT mac DOT com

My test server is located at:

The Expression Engine server-test-wizard's result can be seen at:

Thanks in advance,

Re: GD 2 on Mac OS X Server 10.4?

Thomas Boelskifte wrote:
Quoted text here. Click to load it

Apache couldn't care less about GD/GD2 but PHP needs to be *compiled* to
include support for it.  In other words, if Marc's package doesn't float
your boat, then you'll need to download the PHP4/5 source and install
from that.  I seriously think there wasn't something awry with your last
install attempt of Marc's package - it Just Works(tm) normally.

I'm running PHP 5.1.4 with GD2 support etc from Marc Linyage on OSX
10.4.7 on a MacMini (Intel CoreDuo) without any problems.

HTH a little,


Re: GD 2 on Mac OS X Server 10.4?

Quoted text here. Click to load it

Thanks James, I tried installing again, but the installer says the
installation didn'r complete because of "errors", whatever they are :)

After the failed installation, Apache won't start or work, and I have to
restore the httpd.conf file, witch the Entropy installer does make a
backup off.

I did install the GD 2 and all libraries via Fink, is that as good as
downloading and installing from source?

And if so, how do I tell PHP that it's installed and where it's located?
Some conf file of sorts, php.ini perhaps?

Maybe you could post the relevant parts, of whatever cinfig file I need
to edit, fron your file?


Re: GD 2 on Mac OS X Server 10.4?

Thomas Boelskifte wrote:
Quoted text here. Click to load it

Many are having the same problem. Here is my problem, I went and
downloaded the Apache2 version of PHP5, installed the package fine, but
when I did, the webserver wouldn't load.  Others are getting the same
problem as I noticed in the entropy's forums.  Nobody has helped with
them either.  One person mentioned getting it working by comparing the
two versions of the php.ini files. But he didn't mentioned his steps or
the lines.  For me to get my system working again, I had to comment out
the PHP5 lines in the httpd.conf file.

With installing from fink, you will need to recompile PHP/Apache.
Apple's developer site has specific info on including GD, but is a long
pain in the ass.  Honestly, I have no clue why Apple can't get their
heads out of their asses and include the GD module.  It is one of the
most requested pieces for the webserver and no simple solution.  Sorry
for the griping, but I am at my wits end on this myself.  I have posted
in Apple's forums (and searched), entropy's site, and everything.  It
should just work (that is how Apple has everything (mostly)).

When my new Dell server comes in, I will be working on that and seeing
if I have any problems configuring Linux with user authentication with
LDAP users for email.  If not, I will drop the Xserve config for the
webserver as I want one box to do both.


Re: GD 2 on Mac OS X Server 10.4?

Thomas Boelskifte wrote:

Quoted text here. Click to load it

There is no GD for PHP5 (not officially) I use Debian and same deal.. I
have it compiled now however, its just a case of finding a unofficial
package that has it supported. So either install php4 with php-gd (or
is it php4-gd..) or google yourself a php5-gd package for your OS.


Site Timeline