Skip to content

Commit b7bb065

Browse files
author
Till Brehm
committed
Improved error message in php version check.
1 parent 5803313 commit b7bb065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public function find_installed_apps() {
203203
public function check_prerequisites() {
204204
$msg = '';
205205

206-
if(version_compare(phpversion(), '5.4', '<')) $msg .= "PHP Version 5.4 or newer is required.\n";
206+
if(version_compare(phpversion(), '5.4', '<')) $msg .= "PHP Version 5.4 or newer is required. The currently used PHP version is ".phpversion().".\n";
207207
if(!function_exists('curl_init')) $msg .= "PHP Curl Module is missing.\n";
208208
if(!function_exists('mysqli_connect')) $msg .= "PHP MySQLi Module is nmissing.\n";
209209
if(!function_exists('mb_detect_encoding')) $msg .= "PHP Multibyte Module (MB) is missing.\n";

0 commit comments

Comments
 (0)