1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-11-01 23:14:58 +03:00

Show current PHP version in case minimum version requirement is not met

Signed-off-by: Abhishek kanojia <abhishekka3193@gmail.com>
This commit is contained in:
Abhishek kanojia
2015-10-12 17:49:35 -04:00
committed by Marc Delisle
parent fc8ac19f85
commit 1fa2fbdd09

View File

@@ -56,7 +56,7 @@ if (getcwd() == dirname(__FILE__)) {
* PHP 5 function, so cannot easily localize this message.
*/
if (version_compare(PHP_VERSION, '5.5.0', 'lt')) {
die('PHP 5.5+ is required');
die('PHP 5.5+ is required. <br /> Currently installed version is: ' . phpversion());
}
/**