#!/usr/bin/env php
Fatal error: Uncaught Zend\Console\Exception\RuntimeException: Cannot create Console adapter - am I running in a console? in /var/www/api/vendor/zendframework/zend-console/src/Console.php:73 Stack trace: #0 /var/www/api/vendor/zfcampus/zf-deploy/bin/zfdeploy.php(52): Zend\Console\Console::getInstance() #1 {main} thrown in /var/www/api/vendor/zendframework/zend-console/src/Console.php on line 73