How do I configure the database using php_server module
This is because you are running the drush command in directory where your project code doesn't exists. I think you are getting logged in to home directory of a server where the project code does not exists. Your project code is in another directory. for e.g

-opt
 -webcode
  -project_code
-home
-etc


So you are getting loggedin in the home directory but your code is inside /opt/webcode/project_code. You need to reach to project_code directory first and then run the drush command.

You can use filezilla if you are not aware of the directory stucture. It will help you to know which directory has your project code.