Created
February 28, 2017 10:52
-
-
Save wesamly/44c6067a34d331d91691bf75a156954e to your computer and use it in GitHub Desktop.
composer on cpanel shared hosting with ssh access
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Add at the top after # .bashrc | |
[ -z "$PS1" ] && return | |
#Add at the bottom | |
alias mycomposer="/usr/bin/php-cli -d suhosin.executor.include.whitelist=phar /home/userdir/bin/composer.phar" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Taken from this SO answer: http://stackoverflow.com/a/29436655/249645