I'm trying to install composer on a shared hosting , GoGeek from siteground , what's the best way to do that ?
Asked
Active
Viewed 5,724 times
2
-
3Possible duplicate of [How do I install Composer on a shared hosting?](http://stackoverflow.com/questions/20894518/how-do-i-install-composer-on-a-shared-hosting) – Pᴇʜ May 12 '16 at 06:54
-
1I installed composer on GoGeek from SiteGround. Please see my answer here https://stackoverflow.com/a/49745082/2993088. – OrganicCorridor Apr 11 '18 at 01:13
2 Answers
2
You probably don't want to install Composer on the live server. Run it locally on the machine that uploads the other code to your shared hosting server.
Why? Because it works, and you will see any errors during composer install
before such a failure takes your site offline. Note that any of the used services (packagist.org, GitHub, Bitbucket and so on) never have 100% uptime, and it will be annoying if the one you need is down when you need it during an update.

Sven
- 69,403
- 10
- 107
- 109