svicino
svicino

Reputation: 173

Composer is not working or returning anything when run

Composer will not execute, or display any messages. When I try to install a package it just returns with no response. I try executing composer -v and nothing happens.

Upvotes: 2

Views: 1185

Answers (1)

Thibault
Thibault

Reputation: 1596

Composer run in PHP, so PHP configuration is used.

Look at your PHP configuration in your shell :

Watch for log_errors and display_errors parameters

$ php --info | grep "errors"
display_errors => Off => Off
log_errors => On => On

If everything is set to Off, consider changing your config

$ php --info | grep "Loaded Configuration File"
Loaded Configuration File => /etc/php5/cli/php.ini

And edit the given file.

Upvotes: 2

Related Questions