- Download getcomposer.org/composer.phar to your account's home directory —
/home/username. - Edit
.bashrcfile in same directory by addingalias composer='/usr/local/php56/bin/php-cli ~/composer.phar'line. Updatephp56part to current relevant version, if necessary. - Restart SSH session or run
source ~/.bashrcto reload config. - Use
composercommand!
Last active
March 13, 2023 10:21
-
-
Save Rarst/1c07f904e24e9ab5ae62 to your computer and use it in GitHub Desktop.
Author
@TrongCodemenschen username will be your user name that SiteGround created for you on the server. Ask support if you can't otherwise figure it out.
I am not sure this is relevant anymore since from quick google there are mentions Composer is pre-installed now (not confident if that's including shared servers).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm very new to this, so please help me