RE: [PHP] Problem with install lybrary GD
| From: | Richard Lynch | Date: | Wed, 24 Sep 2008 21:15:16 +0000 |
| Subject: | RE: [PHP] Problem with install lybrary GD | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-280881@lists.php.net to get a copy of this message | ||
Did you change php.ini to load in the php_gd.so file?
Is this in Apache, and did you restart apache, which only reads php.ini on startup?
> -----Original Message-----
> From: opc@orenses.com [mailto:opc@orenses.com]
> Sent: Wednesday, September 24, 2008 3:35 PM
> To: php-general@lists.php.net
> Subject: [PHP] Problem with install lybrary GD
>
> 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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
_______________________________________________________
The information in this email or in any file attached
hereto is intended only for the personal and confiden-
tial use of the individual or entity to which it is
addressed and may contain information that is propri-
etary and confidential. If you are not the intended
recipient of this message you are hereby notified that
any review, dissemination, distribution or copying of
this message is strictly prohibited. This communica-
tion is for information purposes only and should not
be regarded as an offer to sell or as a solicitation
of an offer to buy any financial product. Email trans-
mission cannot be guaranteed to be secure or error-
free. P6070214