Re: Is GD available

From: Date: Fri, 15 Jul 2005 14:41:55 +0000
Subject: Re: Is GD available
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-218752@lists.php.net to get a copy of this message
Damn! I should have checked the error_log first! PHP Warning: Unknown(): Invalid library (maybe not a PHP library) 'libgd.so.2' in Unknown on line 0 And this is the library from the rpm specified in ww.php.net: http://www.boutell.com/gd/. However, the site says that gd should be supported out of the box. I am going to try and find the rpm for php-4.3.11 and reinstall it. Todd André Medeiros wrote:
On Fri, 2005-07-15 at 07:25 -0700, Todd Cary wrote:
In php 4.3.11, ini files are placed in /etc/php.d that have "extension=xxxx". I have one (i.e. gd.ini) with "extension=libgd.so.2" and libgd.so.2 is in /usr/lib/php4. Todd André Medeiros wrote:
On Fri, 2005-07-15 at 07:06 -0700, Todd Cary wrote:
     
I have php 4.3.11 available, and when I do a phpinfo() http://209.204.172.137:81/testphp.php I see it in the configuration, but it is not listed elsewhere. How can I test to see if it is available? gd_info() is not in 4.3.11 and extension_loaded('gd') gives a false. Todd
       
Check if the extension is loaded on php.ini If it is, check apache's errorlog. Good luck
     
Try putting it on php.ini There's something wrong that makes the extension not being loaded. Did you check apache's error logs?


« previous php.general (#218752) next »