Re: Load Error
| From: | Eddie Hixson | Date: | Thu, 23 Mar 2006 19:11:32 +0000 |
| Subject: | Re: Load Error | ||
| References: | 1 2 3 4 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6812@lists.php.net to get a copy of this message | ||
Hi Scott,
Thank you for leading me in the right direction. PROBLEM SOLVED.
php-gd was not installed, therefore gd.so was not being loaded.
I downloaded the RedHat Package php-gd.i386 0:5.1.2-5 and installed it.
There was no need to recompile PHP, gd.so was installed into the modules
directory and now dynamically loads.
Thanks a TON.
"The more you code the more you know"
Regards,
Eddie
On Thu, 2006-03-23 at 13:35 -0500, Scott Mattocks wrote:
> Sorry. I sent this to the dev list by accident.
>
> Eddie Hixson wrote:
> > Thank you for the reply. I really don't know. PHP installation is by
> > RedHat RPM's. Is there an easy way to determine this. Sorry for the
> > questions, but this development arena is new to me.
>
> There are a few ways to check if GD is available. First you can try
> running $> php -m This lists the modules/extensions that are loaded. If
> you see gd in the list then you have it. You can also see what PHP was
> configured with by checking the php info. Try running $> php -i | grep
> config If you see --with-gd in there then gd was enabled. If you don't
> see it in either of those places then you may have to recompile PHP.
>
> Its probably best to wait for a more authoritative answer/solution first
> though. Compilation errors are not my strong point.
>
> >
> > By the way, I will be sure to pick up your new book when it comes out.
>
> Thanks,