Re: GD lib not working
| From: | Jason Wong | Date: | Mon, 06 Dec 2004 07:05:59 +0000 |
| Subject: | Re: GD lib not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203564@lists.php.net to get a copy of this message | ||
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
*/