dtz33344 2015-01-21 10:31
浏览 32

PHP Graph库不起作用

I have installed pchart as well as Jpgraph on my system but on running their example sites all I get is a blank page. GD has been already installed on my system and I have checked it already. Do I need to change anything in the php.ini file?

  • 写回答

1条回答 默认 最新

  • doutang8098 2015-05-08 14:32
    关注

    You need to enable the GD2 library in PHP. In the PHP.INI look for the line;

    extensions=php_gd2.dll
    

    and remove the ; (semi-colon) at the beginning of the line. after you save that file you will need to restart Apache (or whatever you use) for the changes to take effect.

    References came from this page; http://www.plus2net.com/php_tutorial/gd-support.php

    评论

报告相同问题?