[PHP] GD lib not working
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. -Dade - Do you Yahoo!? Yahoo! Mail - You care about security. So do we.
Re: [PHP] GD lib not working
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
Re: [PHP] GD lib not working
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 [EMAIL PROTECTED] 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.
Re: [PHP] GD lib not working
Please do not top post. On Monday 06 December 2004 00:22, Dade Register wrote: 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' '--with-gd-dir=/usr/local/lib' should be '--with-gd=/usr/local/lib' An annoyance (or gotcha) with PHP's ./configure command is that it does not warn you if you use totally bogus options, eg: ./configure --with-super-thingamajit will happily make and install with no errors or warnings. -- 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 -- /* In my end is my beginning. -- Mary Stuart, Queen of Scots */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php