fbsu-x at packet.org.uk
Tue May 6 11:34:22 BST 2003
IIRC PHP's GD support is such that GD1 and GD2 are mutually exclusive.
So perhaps you're seeing a problem due to the configure script seeing
GD1 first and assuming that's what you want.
Try uninstalling GD1 and then recompile PHP.
Alternatively, build PHP from the ports. The first thing you'll see
doing it this way is a dirty great big menu asking which options you
wish to compile into your PHP. GD1 and GD2 are both listed, which
suggests there is some logic capable of forcing the issue.
* Abdul Salam <abdul at netsite.co.uk> [2003-05-06 10:27:00 BST]:
> Hi there,
> I am not sure whether this is relevant to FreeBSD or PHP group. But,
> anyway please let me know if anybody else had come across with this
> issue before. I have an Apache installation on FreeBSD with PHP 4.2.3. I
> want to enable GD library with it. By default PHP 4.2 should have a GD
> library with it. But, it was showing a version of 1.6.2. But, what I
> need is GD 2.x. In ports collection I have GD 2.1 and I installed it and
> re-compiled it again by using "./configure' '--with-mysql'
> '--with-gd=/usr/local' '--with-jpeg' '--with-zlib'
> '--with-apxs2=/usr/local/www/bin/apxs' ". But, still it is showing
> version 1.6. So, I downloaded the latest version of GD library,
> installed it and compiled again. Still the version doesn't change. Does
> anybody have any idea on what is happening here? Please note, I have
> only re-started apache, not the sever itself. I don't want to do that as
> many websites are running on the machine. Any help will be appreciated.
> Mail and any attachments checked for known
> viruses by Netsite Anti-Virus System.
> If you have any comments regarding this policy
> please direct them to postmaster at netsite.co.uk.
> ------ FreeBSD UK Users' Group - Mailing List ------
Freelance FreeBSD Hacker
(will work for bandwidth)
More information about the Ukfreebsd