From 2b0b3859a7f12c24e2af3adb0b1d10cc39352a0b Mon Sep 17 00:00:00 2001 From: Mikael Roos Date: Thu, 21 Aug 2014 00:31:05 +0200 Subject: [PATCH] Extended info printed #35 --- README.md | 1 + webroot/check_system.php | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 212f374..144cf7c 100644 --- a/README.md +++ b/README.md @@ -133,6 +133,7 @@ Revision history v0.5.x (latest) +* `webroot/check_system.php` now outputs version of PHP and GD. * #32 correctly send 404 header when serving an error message. * Trying to verify issue #29, but can not. * Adding structure for testprograms together with, use `webroot/test_issue29.php` as sample. diff --git a/webroot/check_system.php b/webroot/check_system.php index fca130e..0eed06f 100644 --- a/webroot/check_system.php +++ b/webroot/check_system.php @@ -1,4 +1,12 @@
'; + +echo 'Running on: ' . $_SERVER['SERVER_SOFTWARE'] . '

'; + $no = extension_loaded('gd') ? null : 'NOT'; -echo "Extension gd is $no loaded."; +echo "Extension gd is $no loaded.
"; + +if (!$no) { + var_dump(gd_info()); +}