drush php drupal

drush install and solve crash

Опубликовано Vladimir - сб, 21.12.2019 - 02:17

1 install globally
mkdir /usr/local/bin/drush
cd /usr/local/bin/drush
composer init --require=drush/drush:10.* -n
composer config bin-dir /usr/local/bin
composer install
ln -s /usr/local/src/drush/drush /usr/bin/drush

drush migrate-upgrade --legacy-db-url=mysql://turkmenistan_d6:turkmenistan_d6@127.0.0.1/turkmenistan_d6 --legacy-root=http://turkmenistan.ru/ru --configure-only

2 Solve issue with crash on start