Okay so i'm trying to install ShopWare. I need to install composer to my shared web hosting. It let me download composer but when I go to run this command: mv composer.phar /usr/local/bin/composer
I get this error message:
HostingName@hosted4 /tmp $ mv composer.phar /usr/local/bin/composer
mv: cannot create regular file '/usr/local/bin/composer': Permission denied
How to solve this problem or get around it. Thanks for your help!
Install Composer
-
- New to forums
- Posts: 2
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Thu Nov 30, 2017 11:35 am
- Vanderburg
- Former staff
- Posts: 1253
- Joined: Sat Nov 13, 2010 7:27 am
- Location: Dallas, TX
Re: Install Composer
You won't be able to move anything to the /usr/local/bin/composer directory on the shared webhosting, but instead of moving it (and then calling "composer"), you can likely leave it where it is, and call "composer.phar", so it executes it locally.