cancel
Showing results for 
Search instead for 
Did you mean: 

How do I upgrade composer without root access?

SOLVED

How do I upgrade composer without root access?

Using Magento 2.3.5p1 and php 7.3.

 

How can I upgrade composer in cpanel without WHM access?  Thanks for your attention.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How do I upgrade composer without root access?

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!

Problem solved? Click Accept as Solution!

View solution in original post

4 REPLIES 4

Re: How do I upgrade composer without root access?

@Sheba 

 

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

 

Manish Mittal
https://www.manishmittal.com/

Re: How do I upgrade composer without root access?

Hello,

 

At least you need SSH  access to upgrade

 

Hope it will help you

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: How do I upgrade composer without root access?

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!

Problem solved? Click Accept as Solution!

Re: How do I upgrade composer without root access?

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.

Marcus | LitExtension Expert
Shopping Cart Migration Service