Error installing composer - curl: (23) Failed writing body (0 != 16133)
Solution 1
Try it:
curl -sS → curl -s
I has this problem too and find answer here
Solution 2
curl -sS https://getcomposer.org/installer | /usr/local/php/bin/php
Try to PHP fully specified path
Solution 3
Try this way:
curl -LsS http://symfony.com/installer > symfony.phar
sudo mv symfony.phar /usr/local/bin/symfony
sudo chmod a+x /usr/local/bin/symfony
it worked for me!
Solution 4
First of all make sure that your php.ini is with openssl active, in my case I'm using Xamp, the configuration file is in the directory:
C: \ xampp \ php \ php.ini
On line 892, change from:
;Extension = php_openssl.dll
To
Extension = php_openssl.dll
Then, you must restart your Apache server in my case by Xampp just click according to the image below:
After that, go to the command prompt (CMD) and enter the following command:
curl -s https://getcomposer.org/installer | Php --disable-tls
Admin
Updated on June 23, 2020Comments
-
Admin about 4 years
I am trying to install symfony in debian 8 jessie but I have a problem when I execute this instruction in the terminal:
curl -sS https://getcomposer.org/installer | php
this is the error message:
bash: php: no se encontró la orden
curl: (23) Failed writing body (0 != 16133)
Can somebody help me?
Thank you. And sorry for my English