At the time of writing (2021.10), the problem below appears to be fixed in the latest version, 4.3.5.
It says PHP 7.2 is supported, but the product information says it supports up to 7.4, so which is right?? As long as it works properly I do not really mind.
I am leaving the old article below for reference
Symptoms
Under Apache2.4+PHP7.3+Jpgraph4.3.1, the error JpGraph Error: 25092 meant graphs were no longer output

Reading the error text, it says something along the lines of “review your fonts and settings”
What I checked
- php.ini
# vi /etc/php.ini
include_path = ".:/var/www/jpgraph"- jpg-config.inc.php
define('USE_CACHE',true);
define('CACHE_DIR','/var/cache/jpgraph/‘);
define('READ_CACHE',true);- Checking the ownership
# chown apache:apache -R /var/cache/jpgraph/Even after checking these, the symptom did not change
Is PHP 7.3 unsupported?
When you download Jpgraph there are samples inside Examples, so I tried them, and sure enough the sample files could not output graphs either
Looking at the official Jpgraph site, Jpgraph 4.3.x and later support PHP 7.4, but the Note only states up to PHP 7.2, so is PHP 7.3 unsupported?

I tried PHP 7.4 in a test environment and graph output still did not work, so is it not the case that as of now PHP 7.3 and later are unsupported?
The solution
I found useful information below that gave me a clue to the solution
By applying the patch to jpgraph’s gd_image.inc.php, it now works properly on PHP 7.3 and 7.4 for the time being.
(If you do not know how to apply a patch, or find it a hassle, simply swapping in gd-Image.inc.php is fine too)
In short, it seems to be a GD-related error