Artisan returns empty

Whenever I run any php artisan command like php artisan list , I get nothing. No teams work at all.

I searched a bit and tried the following:

  • change permissions for /root/.composer to 777
  • delete bootstrap/compiled.php file

There is nothing in app/storage/logs/log-cli-.txt .
I can view the site in a browser.

I am working on CentOS 6.3 64bit with PHP v. 5.5.11 - Laravel 4.1

+6
source share
2 answers

This problem is quite common and is usually associated with some errors that are not observed in the CLI, for example, in custom classes that do not load, are you sure that you are reporting errors?

Edit the artisan file and add the following lines immediately after the PHP opening tag <?php :

 ini_set('display_errors',1); error_reporting(-1); 

Try artisan again and see if there is any output.

If this does not work, try returning app/start/global.php to this default state.

+5
source

Running composer install solved the problem.

+2
source

All Articles