From: Tobias Diekershoff Date: Sun, 18 Mar 2018 09:36:28 +0000 (+0100) Subject: added check for POSIX kill to the installation wizard X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a6845c01806008db510e342772fce235788121ea;p=friendica.git added check for POSIX kill to the installation wizard --- diff --git a/mod/install.php b/mod/install.php index 4b4940d277..049642b92c 100644 --- a/mod/install.php +++ b/mod/install.php @@ -397,7 +397,8 @@ function check_funcs(&$checks) { check_add($ck_funcs, L10n::t('PDO or MySQLi PHP module'), true, true, ""); check_add($ck_funcs, L10n::t('mb_string PHP module'), true, true, ""); check_add($ck_funcs, L10n::t('XML PHP module'), true, true, ""); - check_add($ck_funcs, L10n::t('iconv module'), true, true, ""); + check_add($ck_funcs, L10n::t('iconv PHP module'), true, true, ""); + check_add($ck_funcs, L10n::t('POSIX PHP module'), true, true, ""); if (function_exists('apache_get_modules')) { if (! in_array('mod_rewrite',apache_get_modules())) { @@ -435,6 +436,10 @@ function check_funcs(&$checks) { $ck_funcs[7]['status'] = false; $ck_funcs[7]['help'] = L10n::t('Error: iconv PHP module required but not installed.'); } + if (! function_exists('posix_kill')) { + $ck_funcs[8]['status'] = false; + $ck_funcs[0]['help'] = L10n::t('Error: POSIX PHP module required but not installed.'); + } $checks = array_merge($checks, $ck_funcs);