How can one verify if the GD Library is functioning properly independent of a specific component like Mambo?

To verify if the GD Library is functioning properly independent of a specific component like Mambo, you can create a simple PHP script that checks for the GD extension and outputs the version information.

<?php
if (extension_loaded('gd') && function_exists('gd_info')) {
    $gdInfo = gd_info();
    echo 'GD Library Version: ' . $gdInfo['GD Version'];
} else {
    echo 'GD Library is not enabled or installed.';
}
?>