Skip to content

Commit

Permalink
Update xdmod-check-config script (#1327)
Browse files Browse the repository at this point in the history
* Add PHP APCu check
* Add php-mbstring check
  • Loading branch information
jtpalmer authored Jun 4, 2020
1 parent 5dcbc16 commit c686deb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions bin/xdmod-check-config
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,20 @@ try {
'PHP PCRE extension installed'
);

_debug('Checking for mb_convert_encoding function');
$result = function_exists('mb_convert_encoding');
displayResult(
$result,
'PHP Multibyte String extension installed'
);

_debug('Checking for apcu_exists function');
$result = function_exists('apcu_exists');
displayResult(
$result,
'PHP APC User Cache extension installed'
);

_debug('Checking timezone');
$tz = ini_get('date.timezone');
$result = $tz !== null && $tz !== false;
Expand Down

0 comments on commit c686deb

Please sign in to comment.