Magento 2 CLI composer not working

Logged into your magento 2 install via Putty, trying to type in command but nothing happens it just goes to the next line. Of course you ran file perms reset script and it is still not working.

Open up the file bin/magento in your file editor and add the following line and upload it.

1
ini_set('display_errors', 1);  // allow PHP errors reporting

You will now see the errors that are causing the problems!

Leave a Reply

Your email address will not be published. Required fields are marked *