From owner-freebsd-questions@FreeBSD.ORG Sun Jan 4 03:32:05 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2ABA16A4CE for ; Sun, 4 Jan 2004 03:32:05 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id A991343D1D for ; Sun, 4 Jan 2004 03:32:03 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) i04BVkxn029247 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 4 Jan 2004 11:31:46 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i04BVjL9029246; Sun, 4 Jan 2004 11:31:45 GMT (envelope-from matthew) Date: Sun, 4 Jan 2004 11:31:45 +0000 From: Matthew Seaman To: Marius Kirschner Message-ID: <20040104113145.GD14277@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Marius Kirschner , 'FreeBSD Questions' References: <20040104024650.0060C43D58@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LTeJQqWS0MN7I/qa" Content-Disposition: inline In-Reply-To: <20040104024650.0060C43D58@mx1.FreeBSD.org> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk cc: 'FreeBSD Questions' Subject: Re: Re-make mod_php X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2004 11:32:06 -0000 --LTeJQqWS0MN7I/qa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 03, 2004 at 09:46:48PM -0500, Marius Kirschner wrote: > I have the need to re-configire mod_php4 using the ports and add another > package (--with-imagick) that is not part of the default options. Where d= o I > put the imagick source (should be in /usr/src/php/ext), and which file do= I > need to modify to include the "--with-imagick"? Obviously there must be a > way to do it, but after searching through the freebsd.org site I haven't > been able to find it. Thanks, Hmmm... As far as I can tell, the --with-imagick option doesn't exist in PHP4 or later. Which is probably why there isn't a 'WITH_IMAGICK' option in the port Makefile. In fact, see this, from the principal author of PHP himself: http://www.phpbuilder.com/lists/php-general/2000062/0343.php "ImageMagick support is broken and deprecated" You can achieve pretty much all of the graphical manipulations you need by a combination of PHP's built in support for the GD libraries, or by using the exec() capability of PHP to call external programs. The netpbm library (ports: graphics/netpbm) and ImageMagick have some suitable command line programs that you can work with. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --LTeJQqWS0MN7I/qa Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQE/9/mhdtESqEQa7a0RAqJMAJ9l4XN2kbzVf5RgUI4UEzPGHGalvACfT8YX U/lhLz+HahdO8mDafVUmO6Y= =IPPt -----END PGP SIGNATURE----- --LTeJQqWS0MN7I/qa--