Magento and classic servers1 min readUpdated

Magento can't use composer 2

If you face a composer incompatibility with composer 2 at our servers run this commands as sudo:

curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --version=1.10.16

 

Check composer version with:

php /usr/local/bin/composer -v

 

Then run your command:

su mage_owner -s /bin/bash -c "php /usr/local/bin/composer update vendor/module"

In case of difficulties let us know via helpdesk.

Did this solve it? If not, tell us what you see and we look at your server.

Open a ticket

Still stuck? Ask a person.

Tickets go straight to the engineers who run ShopWhizzy servers. Tell us the store, what you see and when it started, and we take it from there.