2.3. Basic trouble shooting
Prev | Chapter 2. The Short Version: Installing the library (for PHP/Apache experts) | Next

## 2.3. Basic trouble shooting

If none of the examples above to work there is a couple of things that needs to be checked. If not any of these quick fixes solves the problem then it is best to read the long version of the installation instructions before continuing the trouble shooting.

1. Verify that the GD library is really working by running `phpinfo()` and check that your output includes a GD section which should show similar information as the image below

   Figure 2.1. `phpinfo()` GD sections

2. Make sure you have enabled strict error checking and disabled output buffering in `php.ini`. This might not solve the problem by itself but it will enable (better) error messages to trouble shoot the installation.

3. Make sure that you are using a recent version of PHP (e.g. ≥ PHP 5.2.x)

4. Make sure that the path to the TTF directories are correctly specified in `jpg-cnfig.inc.php`

Prev | Up | Next
2.2. Running the examples | Home | Chapter 3. The Long Version: Installing the Library