From a9062a76320d60ba94c3780ead6150fdfe8c9f32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Sun, 7 Dec 2014 21:02:40 +0100 Subject: [PATCH] Add a formal check for the PHP version. I still have a lot of people trying with PHP 5.2.X --- checkconfig.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/checkconfig.php b/checkconfig.php index aaf9a00..a9770e9 100644 --- a/checkconfig.php +++ b/checkconfig.php @@ -49,6 +49,22 @@ +
+

Check if PHP version is correct

+

+ = 50300) { + echo "OK (" . PHP_VERSION . ")"; + } else { + echo "Please install PHP >= 5.3 (" . PHP_VERSION . ")"; + } + } else { + echo "Please install PHP >= 5.3"; + } + ?> +

+

Check if GD is properly installed and loaded