Re: GD lib not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It's a new installation. I did restart Apache after re-compiling PHP.
phpinfo() shows my config command I used is:
./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-zlib-dir=/usr/local/lib' '--with-jpeg-dir=/usr/local/lib' '--with-freetype-dir=/usr/local/lib' '--with-png-dir=/usr/local/lib' '--with-libxml-dir=/usr/local/lib' '--with-iconv-dir=/usr/local/lib' '--with-gd-dir=/usr/local/lib' '--without-xpm' '--enable-gd-native-ttf' '--enable-exif' '--enable-ftp' 
 
phpinfo does not show a gd section. I'm assuming that's why it doesn't work. Am I compiling it wrong? I verified that all my libs are located @ /usr/local/lib.
 
-Dade

Jason Wong <php-general@xxxxxxxxxxxx> wrote:
On Sunday 05 December 2004 17:37, Dade Register wrote:
> It seems that my install of php does not like the GD library. I've tried
> everything, and read past forum messages. Here's what I'm running: FreeBSD
> 5.2.1
> Apache 2.0.52
> Php 5.0.2
> GD 2.0.32
>
> Php compiles fine, and even the tests pass for the GD lib, but any GD
> function fails including gdinfo() and imagecreate. Fatal error: Call to
> undefined function imagecreate().
>
> I need some help. Anyone have any ideas? Thanx.

Is this a new installation? A re-installation? An upgrade?
Did you restart apache?
Does phpinfo() show:

(i) that the ./configure command was indeed that one that you used?
(ii) that you have a GD section showing GD info?

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
People don't usually make the same mistake twice -- they make it three
times, four time, five times...
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


		
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - Helps protect you from nasty viruses.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux