php - Can't install composer on my shared hosting using ssh -
trying different methods install composer on shared host using putty. every time getting error.
timed out error:
i googled , tried lot of solutions, nothing worked. how can find exact problem , solution?
run each or these commands in order:
- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
- php -r "if (hash_file('sha384', 'composer-setup.php') === 'e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae') { echo 'installer verified'; } else { echo 'installer corrupt'; unlink('composer-setup.php'); } echo php_eol;"
- php composer-setup.php --install-dir=bin --filename=composer
- rm composer-setup.php
Comments
Post a Comment