[REBOL] Re: Apache
From: deryk:iitowns at: 25-May-2001 22:02
Gabriele Santilli wrote:
> Holger Kruse wrote:
>
> > True, but there is no good way around this. The problem is not just lack of
> > X libraries. In order to render text you would also need access to an X
> > server, i.e. a workstation with an X server running, configured to allow
> > X access from the web server.
>
> PHP actually has access to some font rendering engines. I don't
> recall the details, but one of my friends wrote some code to
> generate text from PHP:
>
> http://www.ing.univaq.it/php3utils/left_item.php3?Your_text_string+3
>
> We are using it to generate the menu on the left:
>
> http://www.ing.univaq.it/
>
> The server is a Sun workstation with Solaris; it HAS X running,
> but I'm quite sure it would work without it too.
PHP relies on the gd library for those functions. gd library in turn
relies on the following:
libm.so.6 => /lib/libm.so.6 (0x4004d000)
libpng.so.2 => /usr/lib/libpng.so.2 (0x4006e000)
libz.so.1 => /lib/libz.so.1 (0x40094000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400a3000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x400c5000)
libttf.so.2 => /usr/lib/libttf.so.2 (0x40102000)
libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x4012e000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4013e000)
libc.so.6 => /lib/libc.so.6 (0x4022a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
So it does in fact require a minimal X installation.
Deryk
-- Binary/unsupported file stripped by Listar --
-- Type: application/x-pkcs7-signature
-- File: smime.p7s
-- Desc: S/MIME Cryptographic Signature