';
echo 'Running on: ' . htmlentities($_SERVER['SERVER_SOFTWARE']) . '
';
$no = extension_loaded('exif') ? null : 'NOT';
echo "Extension exif is $no loaded.
";
$no = extension_loaded('curl') ? null : 'NOT';
echo "Extension curl is $no loaded.
";
$no = extension_loaded('imagick') ? null : 'NOT';
echo "Extension imagick is $no loaded.
";
$no = extension_loaded('gd') ? null : 'NOT';
echo "Extension gd is $no loaded.
";
if (!$no) {
echo "", var_dump(gd_info()), "
";
}
echo "Checking path for postprocessing tools";
echo "
pngquant: ";
system("which pngquant");
echo "
optipng: ";
system("which optipng");
echo "
pngout: ";
system("which pngout");
echo "
jpegtran: ";
system("which jpegtran");