RT,我用了jpgraph来生成曲线图,在windows下仅仅开了GD库,然后调用了jpgraph的类,图形显示OK。但是当我把代码挪到Linux下的WEB服务器中图形无法显示,请问Linux下该如何设置~!PS:GD库已开!phpinfo显示GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.7
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM Support enabled 求高手指导,在线等!
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.7
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM Support enabled 求高手指导,在线等!
include ("lib/jpgraph.php");
include ("lib/jpgraph_line.php");
然后调用了类,在WINDOWS下可以使用,语言包有什么问题呢?
----------------------------------------
| |~jpgraph/
| | |~lang/
| | | |-de.inc.php*
| | | |-en.inc.php*
| | | `-prod.inc.php*
| | |-gd_image.inc.php*
| | |-imgdata_balls.inc.php*
| | |-imgdata_bevels.inc.php*
| | |-imgdata_diamonds.inc.php*
| | |-imgdata_pushpins.inc.php*
| | |-imgdata_squares.inc.php*
| | |-imgdata_stars.inc.php*
| | |-jpg-config.inc.php*
| | |-jpgraph.php*
| | |-jpgraph_antispam-digits.php*
| | |-jpgraph_antispam.php*
| | |-jpgraph_bar.php*
| | |-jpgraph_canvas.php*
| | |-jpgraph_canvtools.php*
| | |-jpgraph_colormap.inc.php*
| | |-jpgraph_contour.php*
| | |-jpgraph_date.php*
| | |-jpgraph_errhandler.inc.php*
| | |-jpgraph_error.php*
| | |-jpgraph_flags.php*
| | |-jpgraph_gantt.php*
| | |-jpgraph_gb2312.php*
| | |-jpgraph_gradient.php*
| | |-jpgraph_iconplot.php*
| | |-jpgraph_imgtrans.php*
| | |-jpgraph_led.php*
| | |-jpgraph_legend.inc.php*
| | |-jpgraph_line.php*
| | |-jpgraph_log.php*
| | |-jpgraph_meshinterpolate.inc.php*
| | |-jpgraph_mgraph.php*
| | |-jpgraph_pie.php*
| | |-jpgraph_pie3d.php*
| | |-jpgraph_plotband.php*
| | |-jpgraph_plotline.php*
| | |-jpgraph_plot.inc.php*
| | |-jpgraph_polar.php*
| | |-jpgraph_radar.php*
| | |-jpgraph_regstat.php*
| | |-jpgraph_rgb.inc.php*
| | |-jpgraph_scatter.php*
| | |-jpgraph_stock.php*
| | |-jpgraph_text.inc.php*
| | |-jpgraph_ttf.inc.php*
| | `-jpgraph_utils.inc.php*
| | |~lang/
| | | |-de.inc.php*
| | | |-en.inc.php*
| | | `-prod.inc.php*
| | |-gd_image.inc.php*
| | |-imgdata_balls.inc.php*
| | |-imgdata_bevels.inc.php*
| | |-imgdata_diamonds.inc.php*
| | |-imgdata_pushpins.inc.php*
| | |-imgdata_squares.inc.php*
| | |-imgdata_stars.inc.php*
| | |-jpg-config.inc.php*
| | |-jpgraph.php*
| | |-jpgraph_antispam-digits.php*
| | |-jpgraph_antispam.php*
| | |-jpgraph_bar.php*
| | |-jpgraph_canvas.php*
| | |-jpgraph_canvtools.php*
| | |-jpgraph_colormap.inc.php*
| | |-jpgraph_contour.php*
| | |-jpgraph_date.php*
| | |-jpgraph_errhandler.inc.php*
| | |-jpgraph_error.php*
| | |-jpgraph_flags.php*
| | |-jpgraph_gantt.php*
| | |-jpgraph_gb2312.php*
| | |-jpgraph_gradient.php*
| | |-jpgraph_iconplot.php*
| | |-jpgraph_imgtrans.php*
| | |-jpgraph_led.php*
| | |-jpgraph_legend.inc.php*
| | |-jpgraph_line.php*
| | |-jpgraph_log.php*
| | |-jpgraph_meshinterpolate.inc.php*
| | |-jpgraph_mgraph.php*
| | |-jpgraph_pie.php*
| | |-jpgraph_pie3d.php*
| | |-jpgraph_plotband.php*
| | |-jpgraph_plotline.php*
| | |-jpgraph_plot.inc.php*
| | |-jpgraph_polar.php*
| | |-jpgraph_radar.php*
| | |-jpgraph_regstat.php*
| | |-jpgraph_rgb.inc.php*
| | |-jpgraph_scatter.php*
| | |-jpgraph_stock.php*
| | |-jpgraph_text.inc.php*
| | |-jpgraph_ttf.inc.php*
| | `-jpgraph_utils.inc.php*