Install Composer in shared hosting using SSH

  • Answered

I entered using SSH, I downloaded composer.phar using the instructions I found here:, but I cannot move it to the /usr/local/bin/composer, so to be recognized by the system. I tried the simple mv command and I get "Read-only file system" and with sudo I get "sudo: effective uid is not 0, is sudo installed setuid root?".

So the composer command is not recognized, so I cannot install Laravel 5 ( Softaculous only supports version 4 for the moment.
Hello Johnpon, Sorry for the problem with installing Composer on the shared server. The main issue is that you're trying to move the file into a server area restricted to general user accounts. If you are able to keep the files within your user area, then the installation would not be a problem. As it sounds like this a requirement of the installation, then Composer can only be installed on a VPS or Dedicated server account where you can acquire root level access. Apologies again that we can't accomodate this on the shared servers. If you have any further questions or comments, please let us know. Regards, Arnel C.