Re: [GD-DEVEL] Doesn't work

[email protected] (Pierre)
Newsgroups php.gd.devel
Message-ID <[email protected]>
Hi Roberto,

On 2/12/07, Roberto Leserri <[email protected]> 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.so

If 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.