New answers tagged


I hit this same issue recently. debian OS, php 7.1 on command line and in apache; same modules enabled; same configuration; can't see any differences between phpinfo() via apache and php -i on command line. in apache, no errors. When I try to run drush I get the error reported above. My temp fix is that since I also have php 7.2 installed on the server ...


You will need to upgrade php version to 7.x. also check your apache/nginx and cli are using 7.x version of php See

Top 50 recent answers are included