Re: Upgrading GD...
| From: | Curt Zirzow | Date: | Tue, 28 Oct 2003 01:44:03 +0000 |
| Subject: | Re: Upgrading GD... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-167818@lists.php.net to get a copy of this message | ||
* Thus wrote Leif K-Brooks (eurleif@buyer-brokerage.com):
> I need to use imagecreatetruecolor(), but my server is still using GD
> 1.6. Is it possible to upgrade GD without having to recompile PHP, etc.?
> I'm still fairly new to Linux administration.
The odds aren't that good, unless the current gd is loaded from a
shared object instead of linked directly to php.
Check your configure command from phpinfo() if it has the option
--with-gd then it was linked directly. Otherwise it is loaded from
an shared object file located in your 'extention_dir'
If it is loaded from extension_dir you can rebuild gd2 module and
replace the old one, and it will use that one instead.
I don't think you can load both into php.
Curt
--
"My PHP key is worn out"
PHP List stats since 1997:
http://zirzow.dyndns.org/html/mlists/