I just setup a fresh install of drupal 7, ubuntu 16.04, installed php 7.0 and git cloned the drush repo which checkout of 8.1.9 drush. When I do a drush status on the docroot of my drupal folder it shows the following and when doing a drush dl it fetches only drupal 8 modules.
PHP executable : /usr/bin/php
PHP configuration : /etc/php/7.0/cli/php.ini
PHP OS : Linux
Drush script : /vendor/drush/drush/drush.php
Drush version : 8.1.12
Drush temp directory : /tmp
Drush configuration :
Drush alias files : /home/ubuntu/.drush/hotsite.aliases.drushrc.php
When I used to run php 5.6, it would give me all the details of my install. What did I do wrong here?
---- updated with drush status in the sites/default folder:
$:/var/www/hotsite_d7/docroot/sites/default$ drush status
PHP executable : /usr/bin/php
PHP configuration : /etc/php/7.0/cli/php.ini
PHP OS : Linux
Drush script : /vendor/drush/drush/drush.php
Drush version : 8.1.12
Drush temp directory : /tmp
Drush configuration :
Drush alias files : /home/ubuntu/.drush/aliases.drushrc.php
$/var/www/hotsite_d7/docroot/sites/default$ drush @hotsite status
Drupal version : 7.57-dev
Site URI : http://default
Database driver : mysql
Database hostname : 127.0.0.1
Database port :
Database username : xxx
Database name : xxx
Database : Connected
Drupal bootstrap : Successful
Drupal user :
Default theme : bootstrap
Administration theme : seven
PHP executable : /usr/bin/php
PHP configuration : /etc/php/7.0/cli/php.ini
PHP OS : Linux
Drush script : /vendor/drush/drush/drush.php
Drush version : 8.1.12
Drush temp directory : /tmp
Drush configuration :
Drush alias files : /home/ubuntu/.drush/aliases.drushrc.php
Install profile : standard
Drupal root : /var/www/hotsite_d7/docroot
Drupal Settings File : sites/default/settings.php
Site path : sites/default
File directory path :
Temporary file directory path : /tmp
$/var/www/hotsite_d7/docroot/sites/default$
drush @mysite status
. Could you add the output above?drush status --debug