Fixed Trac #278: better detection of all PHP mandatory modules.

SVN:trunk[897]
This commit is contained in:
Denis Flaven
2010-10-19 12:45:48 +00:00
parent 7153162696
commit 4b5a25ea59

View File

@@ -166,7 +166,7 @@ function CheckPHPVersion(SetupWebPage $oP)
$oP->error("Error: The current PHP Version (".phpversion().") is lower than the minimum required version (".PHP_MIN_VERSION.")");
return false;
}
$aMandatoryExtensions = array('mysql', 'iconv', 'simplexml', 'soap');
$aMandatoryExtensions = array('mysql', 'iconv', 'simplexml', 'soap', 'hash', 'json', 'session', 'pcre');
$aOptionalExtensions = array('mcrypt' => 'Strong encryption will not be used.',
'ldap' => 'LDAP authentication will be disabled.');
asort($aMandatoryExtensions); // Sort the list to look clean !