Re-make mod_php
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sun Jan 4 03:32:06 PST 2004
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 do 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
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040104/89b286f6/attachment.bin
More information about the freebsd-questions
mailing list