php - composer not working in cygwin terminal -
when run following command in cygwin terminal
$ php -r "readfile('https://getcomposer.org/installer');" | php
!/usr/bin/env php
some settings on machine make composer unable work properly. make sure fix issues listed below , run script again:
the json extension missing. install or recompile php without --disable-json
the phar extension missing. install or recompile php without --disable-phar
the ctype extension missing. install or recompile php without --disable-ctype
above error facing , how solve it, more have install xampp, composer_setup.exe , want run composer cygwin terminal. how run ?
a bit late, can try to:
- copy composer.phar cygwin/usr/bin
- create new composer.bat file with:
@echo off
php "%~dp0composer.phar" %*
- then restart cygwin , retry
additionaly, can help:
Comments
Post a Comment