Donatas Vyzas wrote:
        Well, if you use RPM distibution such as RH, I would strongly advice
for using *only* RPMs for package installs. And I would like to note, that I
do not use RPM based distribution, so I might be wrong in something.
        I believe, that you should be able to use any libraries that you
have already with both PHP4 and PHP5. As I understand, if you want to have
GD functionality in PHP4 and in PHP5, you should install php-gd and php5-gd
packages also (I am not sure about their correct names, but after some
googling looks like these packages are the ones). These are GD extensions
for PHP4 and PHP5. I am not sure about GD package itself (if it was compiled
statically in php-gd extension rpm, then you would not need GD itself, but
my guess that it was compiled with dynamic support, so you need GD also).


-----Original Message-----
From: Jake Bottero [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 9:40 AM
To: Donatas Vyzas
Subject: Re: [PHP-INSTALL] Question about gd.so and PHP

No, it's part of a RHEL3 install that I did pretty much with the Red Hat GUI installer. Maybe this relates to a different issue on the same machine:

When I installed PHP5 on my RHEL3 box running PHP4, it had GD support but without FreeType. Now, my setup thus far was based entirely on the RPMs from the RHEL package, so first I deleted and reinstalled FreeType, than GD (from RPMs). No change.

It occurs to me maybe I should try the non-RPM route. But I'd like to do this in a way that does not disrupt my existing set-up, should I not be able to get GD working with FreeType. I can do this by installing both in different locations than the existing, right?

Also, I assume that I should install FreeType first, than GD?

I would really like to avoid installing separate new instances of either of these, but I can't see a way around it. It just seems messy. Is there something I should look at that might get PHP5 working with the GD/FreeType that I have already?

When I installed PHP5, I of course used the gd and freetype flags with the path the same as indecated in the existing PHP4 phpinfo().
There is not an RPM for php5. Not that I know of. So, if I want php5 on RHEL3 (or 4 as far as I know), RPMs are out.

Reply via email to