if (extension_loaded('curl')) { echo 'cURL is installed!'; } else { echo 'cURL is not installed.'; }
if (function_exists('gd_info')) { echo 'GD is installed!'; } else { echo 'GD is not installed.'; }Package library: This function is a part of the PHP standard library and does not require any additional package or library to be installed.