mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Extend REQUIRED_PHP_EXTENSIONS check about core extensions (#1540)
* Extend Grocy REQUIRED_PHP_EXTENSIONS After installing Grocy on FreeBSD, even with all extensions installed that are listed in REQUIRED_PHP_EXTENSIONS, Grocy still couldn't start. The added 3 PHP Extensions are also needed to run Grocy. * Added note about core extensions Co-authored-by: Bernd Bestel <bernd@berrnd.de>
This commit is contained in:
parent
12af9a944b
commit
10c1ccd6e4
@ -4,7 +4,11 @@ class ERequirementNotMet extends Exception
|
||||
{
|
||||
}
|
||||
|
||||
const REQUIRED_PHP_EXTENSIONS = ['fileinfo', 'pdo_sqlite', 'gd', 'ctype', 'json', 'intl', 'zlib'];
|
||||
const REQUIRED_PHP_EXTENSIONS = ['fileinfo', 'pdo_sqlite', 'gd', 'ctype', 'json', 'intl', 'zlib',
|
||||
// These are core extensions, so normally can't be missing, but seems to be the case, however, on FreeBSD
|
||||
'filter', 'iconv', 'tokenizer'
|
||||
];
|
||||
|
||||
const REQUIRED_SQLITE_VERSION = '3.9.0';
|
||||
|
||||
class PrerequisiteChecker
|
||||
|
Loading…
x
Reference in New Issue
Block a user