Operating System - HP-UX
1752280 Members
4582 Online
108786 Solutions
New Discussion

how to configure the GD lib's supports for php

 
cdp_1
Occasional Advisor

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