Fix And Fix Jpgraph Error When This PHP Installation Is Not Configured With
Fix PC Errors in Minutes
Over the past few days, some of our readers have told us that they have a jpgraph error where this PHP installation is not configured.
Do you have a new question on this project? Create a free GitHub account when you run into an issue and reach out to some of the maintainers and the community.
Already on GitHub? Subscribe Be responsible
I have a PHP application that p It runs WAMP and uses JPGraph. Everything works well. Now I am trying to deploy an application to a production node, which was running native PHP Apache instead of WAMP and got the following error:
Note: use undefined constant IMG_PNG - consider 'IMG_PNG' in C: Program Files Adaptive webPortal models jpgraph jpgraph_errhandler.inc.php on Ray 282JpGraph error: 25001 This PHP installation has not configured GD from the local library. Please recompile PHP with GD to support JpGraph. (No effort exists for either imagetypes () or imagecreatefromstring ())
Now I seem to have run
phpinfo () , and although the expected GD is not enabled on the production server. The biggest difference I can see is the PHP version; WAMP ships with PHP 5.4.12 and your current production has PHP 5.3. So the server has an older version 29 installed. The problem is it has to work on Windows and I can’t buy a Windows PHP installation for pretty much any version above 5.3.29.
However, I cannot find a reason why I cannot enable GD in the same way on a production network. BUT:
- Expdll = php_gd2.Line uncommented to php.ini.
- php_gd2.dll is located in PHP ext
So … yes. I’m a little stuck, haha. Can most people help? Thank you in advance !
requested 1, 15 May from 8:22 am
1386This software will fix your PC - download it now to get started.