diff --git a/functions.php b/functions.php index 62cfe8c..7d8df46 100644 --- a/functions.php +++ b/functions.php @@ -187,6 +187,8 @@ function get_env_details() { $env = array( 'php_version' => phpversion(), 'php_modules' => array(), + 'gd_info' => extension_loaded( 'gd' ) ? gd_info() : array(), + 'imagick_info' => extension_loaded( 'imagick' ) ? Imagick::queryFormats() : array(), 'system_utils' => array(), 'mysql_version' => trim( shell_exec( 'mysql --version' ) ), 'os_name' => trim( shell_exec( 'uname -s' ) ), diff --git a/prepare.php b/prepare.php index 5be3988..5697a7a 100644 --- a/prepare.php +++ b/prepare.php @@ -51,6 +51,8 @@ \$env = array( 'php_version' => phpversion(), 'php_modules' => array(), + 'gd_info' => extension_loaded( 'gd' ) ? gd_info() : array(), + 'imagick_info' => extension_loaded( 'imagick' ) ? Imagick::queryFormats() : array(), 'system_utils' => array(), 'mysql_version' => trim( shell_exec( 'mysql --version' ) ), 'os_name' => trim( shell_exec( 'uname -s' ) ),