I have a Drupal install on a CentOS development server. Running drush from outside my web directory returns as you'd expect (a list of Drush commands).
Running drush from inside my web directory returns nothing at all. Running with debug returns this:
Using the Drush script found at /home/***/vendor/drush/drush/drush using pcntl_exec
[preflight] Config paths: /home/***/vendor/drush/drush/drush.yml
[preflight] Alias paths: /home/***/drush/sites,/home/coventry/drush/sites
[preflight] Commandfile search paths: /home/***/vendor/drush/drush/src
When using Drush from outside my web directory with --root, I get this:
drush uli --root=~/***.com
We could not find an applicable site for that command.
My settings.php file exists in that above directory/sites/default, and the database connection info works. The site is accessible in the browser.
Any ideas on this botched Drush install?
--root
doesn't like~
. Maybe try an absolute path.