Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing GD on my Apache/PHP/Mas OS X setup

Status
Not open for further replies.

georgeocrawford

Technical User
Aug 12, 2002
111
GB
Hi,

Desperately trying to add the GD library to my version of php on Mac OS X (Jaguar).

I have succesfully installed PHP 4.3.0 and the latest Apache server. phpinfo() comes up as expected - no problems.

What now? Can someone please point me to a SIMPLE (i.e. step-by-step) guide to adding the GD library and re-configuring the PHP module. I tried to follow the instructions here:


... but the final steps (build and install GD support, and add GD support to php) just resulted in errors like "./configure not found".

I also want to add truetype font support - how do I do that?

I know nothing about UNIX! I think I was supposed to add the GD library BEFORE installing PHP 4.3.0 - is that right? Having now done step 2 first, how can I add the GD library?

Any help would be great!

George
 
Thanks.

What are the limitations (if any) of the bundled library? Or does it cover most of what GD can do?

Also, do I have to do anything to "use the one that is bundled with PHP" - i.e. do I have to configure a file, or something?
 
Actually, the bundled GD library seems to be a partial superset of the one provided by Boutelle. I'm using it to generate graphics with TTF text on the fly, and it works for me.

I had problems getting PHP to compile using the Boutelle libraries, so I went ahead and used the bundled ones. Want the best answers? Ask the best questions: TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top