How to check if GD support is enabled or not.

<?php
var_dump(gd_info());
?>

If GD support is enabled then you will get an array in that you will get “GD Version”.

If you didn’t get this that means GD support is not there .

To enable GD support you should install
GD library by the below command
“yum install php-gd” (Fedora Linux)
This will install GD support.

Now when you check the output of the above php code it will display the GD version

One thought on “GD support”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.