Using Magento 2.3.5p1 and php 7.3.
How can I upgrade composer in cpanel without WHM access? Thanks for your attention.
Solved! Go to Solution.
Hi @Sheba
Please follow below steps to update composer with server:
1. Type this command on CLI to connect with server
ssh username@hostname.com OR ssh username@ipaddress
2. Move to root folder of Magento
3. Update composer by this command
php composer.phar update
Issue resolved?
Please click on Kudos & Accept as Solution!
are you able to connect with command line? if yes you can use command line to install it.
https://getcomposer.org/doc/03-cli.md#install-i
Hello,
At least you need SSH access to upgrade
Hope it will help you
Hi @Sheba
Please follow below steps to update composer with server:
1. Type this command on CLI to connect with server
ssh username@hostname.com OR ssh username@ipaddress
2. Move to root folder of Magento
3. Update composer by this command
php composer.phar update
Issue resolved?
Please click on Kudos & Accept as Solution!
Hi @Sheba,
Like Sunil Patel said, you need SSH access to update through command line. Refer to this link for more information about how to enable SSH access in cPanel.
After that, connect to your server via SSH and run php composer.phar update.
Let me know if you need further assistance. Hope it helps!
_____________
If issue solved, Click Kudos & Accept as Solution.