Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Just use the official Drush docs; https://github.com/drush-ops/drush
Just use the official Drush docs; https://github.com/drush-ops/drush
Top Drupal contributor Acquia would like to thank their partners for their contributions to Drupal.
Drupal is a registered trademark of Dries Buytaert.
Comments
alias no longer works
Looks like modern versions of drush (mine is 8.01) don't respect the DRUSH_PHP any longer. What is the alternative alias?
Add an alias in .bash_profile
Add an alias in .bash_profile or .profile in your home directory.
php version
Hi,
I'm successfully using this to run php version 5.5
when I run command drush status it says version is 5.5
same thing when I run command php -v
But when I run drush up and it updates a module it disables schema.org metatag.
Message is:
Schema.org Metatag requires at least PHP 5.5. (Currently using PHP [warning] 5.4.45)
I can not figure out where it is still seeing the older php version.
The only thing I noticed is when I run command which php it does not display a path.
Before I updated my .bash_profile and .bashrc files it displayed the path usr/bin/php-cli
That would be the default ver 5.4.45
So maybe I am missing something in one of those files?
Thanks