This commit is contained in:
the-djmaze 2023-01-18 08:20:51 +01:00
parent dcd1d1cbd4
commit 745a3603fe
2 changed files with 5 additions and 6 deletions

View file

@ -212,6 +212,11 @@ class ActionsAdmin extends Actions
'name' => 'PHP ' . PHP_VERSION,
'loaded' => true,
'version' => PHP_VERSION
],
[
'name' => 'PHP 64bit',
'loaded' => PHP_INT_SIZE == 8,
'version' => PHP_INT_SIZE
]
];
foreach (['APCu', 'cURL','GnuPG','GD','Gmagick','Imagick','iconv','intl','LDAP','OpenSSL','pdo_mysql','pdo_pgsql','pdo_sqlite','redis','Sodium','Tidy','uuid','XXTEA','Zip'] as $name) {

View file

@ -7,12 +7,6 @@ if (defined('APP_VERSION')) {
echo '</p>';
exit(301);
}
if (PHP_INT_SIZE < 8) {
echo '<p style="color: red">';
echo '[301] Your PHP version is 32bit, 64bit is required!';
echo '</p>';
exit(301);
}
$aOptional = array(
'cURL' => extension_loaded('curl'),