I've installed drupal-8.7.2 & php 7.3.6 (Thread Safe).
In php.ini, I uncommented this line:
extension=pdo_sqlite
When I run this from the command prompt
php core/scripts/drupal quick-start demo_umami
I get this error:
3/18 [====>-----------------------]
Verify requirements
In install.core.inc line 2287:
PHP extensions: Disabled
Array
I've also tried php 7.3.6 (Non Thread Safe) and 7.2.19 (Non Thread Safe & Thread Safe)
I've also tried the command
php core/scripts/drupal quick-start
And then when prompted, I enter demo_umami
, and then I get the above error again.
This error actually means you are missing a PHP extension, but it is badly formatted when rendered to CLI (see this issue ), hence the Array()
displayed instead of the extension name.
The missing library is probably 'gd', you can check PHP requirements ( core/modules/system/system.install ) for your drupal installation by running DrupalConsole command drupal check
, or manually with php -m
.
The following must be installed :
$required_extensions = [
'date',
'dom',
'filter',
'gd',
'hash',
'json',
'pcre',
'pdo',
'session',
'SimpleXML',
'SPL',
'tokenizer',
'xml',
];
It has not always been the case but core/composer.json actually reflects the state of these PHP extensions, so running composer create-project
might help to manage this.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.