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:

error

i googled , tried lot of solutions, nothing worked. how can find exact problem , solution?

run each or these commands in order:

  1. php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
  2. php -r "if (hash_file('sha384', 'composer-setup.php') === 'e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae') { echo 'installer verified'; } else { echo 'installer corrupt'; unlink('composer-setup.php'); } echo php_eol;"
  3. php composer-setup.php --install-dir=bin --filename=composer
  4. rm composer-setup.php

Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -