Re: [GD-DEVEL] Doesn't work
| From: | Pierre | Date: | Mon, 12 Feb 2007 11:53:19 +0000 |
| Subject: | Re: [GD-DEVEL] Doesn't work | ||
| References: | 1 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-95@lists.php.net to get a copy of this message | ||
Hi Roberto,
On 2/12/07, Roberto Leserri <roberto.leserri@nexos.com> wrote:
Dear all
I'm writing to you because I've got some problems with libgd on Solaris.
Apache 1.3.x with PHP4 are already installed. Know I tried to add libgd
as exention.
I did the following:
1. installed the missing pkg's
1 SMCfontc fontconfig
(sparc) 2.2.98
2 SMCftype freetype
(sparc) 2.2.1
3 SMClibpng libpng
(sparc) 1.2.16
4 SMCxpm xpm
(sparc) 3.4k
2. configure libgd
# ./configure
It is recommended to use the bundled GD in PHP. You may try:
'--with-gd' '--with-gettext=/usr' '--with-png-dir=/usr'
'--with-jpeg-dir=/usr' '--with-freetype-dir=/usr'
'--with-gd' will use the builtin libgd. PHP has it bundled since 4.3.0
and it contains all features available in php as well as all fixes.
4. edited php.ini ... extension=libgd.soIf you have compiled it as shared module, the name will be gd.so, as far as I remember. '--with-gd' will compile it statically. --Pierre