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  求高手指导,在线等!

解决方案 »

  1.   

    打开php的错误提示没有?提示什么错误?注意linux下相应的字体文件要有。
      

  2.   

    错误 Chosen locale file ("lang/en.inc.php") for error messages does not exist or is not readable for the PHP process. Please make sure that the file exists and that the file permissions are such that the PHP process is allowed to read this file.相应字体怎么弄??
      

  3.   

    我下下来解压后就是一个文件夹,直接    
    include ("lib/jpgraph.php");
    include ("lib/jpgraph_line.php");
    然后调用了类,在WINDOWS下可以使用,语言包有什么问题呢?
      

  4.   

    Chosen locale file ("lang/en.inc.php") for error messages does not exist or is not readable for the PHP process. Please make sure that the file exists and that the file permissions are such that the PHP process is allowed to read this file.文件不存在或没有读权限,检查一下
      

  5.   

    不懂- -!WINDOWS下正常的啊什么文件不存在呢?那个文件压根没有啊
      

  6.   

    要有地,看我的,咱就有,多语言文件来的。
    ----------------------------------------
    | |~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*
      

  7.   

    | |~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*
      

  8.   

    意思是,我只要在jpgraph这个文件夹下再增加个lang/en.inc.php 这个文件就可以了??可以从官网下载到么= =
      

  9.   

    Linux 和window下一些东西还是要注意的.. linux 权限 大小写,目录结构,库结构等