Re: PHP+GD on FreeBSD 5.1
| From: | Curt Zirzow | Date: | Thu, 24 Jun 2004 05:31:27 +0000 |
| Subject: | Re: PHP+GD on FreeBSD 5.1 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-188928@lists.php.net to get a copy of this message | ||
* Thus wrote Jason Williard:
> I have been having an extremely difficult getting PHP installed with
> GD support on a FreeBSD 5.1 system. While I can get the default GD
> package installed, I can't seem to get it installed with JPEG support.
> Does anyone know of any good tutorials or instructions for people
> with basic general knowledge of FreeBSD?
You're going to need to obtain the jpeg library, a simple
pkg_add -r jpeg
Will add the library, and when you configure php:
./configure --with-gd --with-jpeg-dir=/usr/local [other options]
Might be wise to read this part of the handbood:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!