Re: GD lib not working
| From: | Dade Register | Date: | Sun, 05 Dec 2004 16:22:03 +0000 |
| Subject: | Re: GD lib not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203523@lists.php.net to get a copy of this message | ||
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@gremlins.biz> 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.