Len Lamberg
Len Lamberg

Reputation: 51

Acquia Dev Desktop uses wrong PHP for Drush

I have used Acquia Dev Desktop often. Recently, I have had a problem with Drush. Even though I selected PHP version 7.2.22 as the default version for my Drupal 8 site, I get an error message that Drush requires a higher version of PHP. I have attached a screenshot of the terminal. It shows that I am, in fact, running 7.2.22; however, Drush is apparently not seeing it. Does anyone know what's going on?

The error message reads:

[preflight] Your command line PHP installation is too old. Drush requires at least PHP 5.6.0. To suppress this check, set the enironment variable DRUSH_NO_MIN_PHP=1

enter image description here

Upvotes: 0

Views: 301

Answers (0)

Related Questions