how to configure the GD lib's supports for php (39 Views)
Reply
Occasional Advisor
cdp_1
Posts: 23
Registered: ‎03-02-2004
Message 1 of 1 (39 Views)

how to configure the GD lib's supports for php

HP11.0ï¼
i want to install apache+php+mysql on it,
so i downloaded a depot packetï¼
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSATW208

it's builded in apache2.0.50,php4.3.8,
swinstall it and test:
http://myhost/test.phpï¼
it worked.

but i need php worked with php's jpgraph to draw pictureï¼ and the jpgraph is depended on GD lib

i downloaded:
zlib-1.2.1-sd-11.00.depot.gzï¼
libpng-1.2.6-sd-11.00.depot.gzï¼
gd-2.0.26-sd-11.00.depot.gz
and installed all of them ok.

in a page to test jpgraph,there's a error then.
Fatal error: Call to undefined function: imagecreatefromstring() in /opt/hpws/apache/php/lib/php/jpgraph.php on line 5648

it seems there's sth. wrong with GD lib.

my question is:
almost all the infos of GD-supporting for php were configured by "configure --***" when it was being installed.
what i should do to make the depot's php supports GD lib after it was
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation