Problem with install lybrary GD
| From: | opc at orenses dot com | Date: | Wed, 24 Sep 2008 20:34:49 +0000 |
| Subject: | Problem with install lybrary GD | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-280875@lists.php.net to get a copy of this message | ||
Hi forum
I try install library GD on Centos 5
I download the gd-2.0.35.tar with the next sentece
./configure --prefix=/usr/local --with=/usr/local --with-jpeg=/usr/local
make
make install
Here all ok.
And next install the php-5.2.6
./configure (... n parameter...) --with-gd=/usr/local/lib
--with-png-dir=/usr/local/bin --with-jpeg-dir=/usr/local/bin
make
make install
And don't get any problem, all ok.
But, execute in code php, the command phpinfo(); and see the next result
Configure Command './configure' ....... '--with-freetype-dir=/usr'
'--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm'
'--with-gettext' '--with-jpeg-dir=/usr' '--with-png'
'--without-gd'
..........
And test with code in php var_dump(gd_info()); but nothing.
What is wrong. Why don't work
Thanks,
P.D. The content the directory are:
/usr/local/bin
annotate
bdftogd
gd2copypal
gd2togif
gd2topng
gdcmpgif
gdlib-config
gdparttopng
gdtopng
giftogd2
pngtogd
pngtogd2
wcmgr
webalizer
webazolver
webpng
/usr/local/lib
gd.h
libgd.a
libgd.la
libgd.so
libgd.so.2
libgd.so.2.0.0
libpcap.a