【发布时间】:2015-07-08 06:07:27
【问题描述】:
当我在 cygwin 终端中运行以下命令时
$ php -r "readfile('https://getcomposer.org/installer');" | php
!/usr/bin/env php
您机器上的某些设置使 Composer 无法正常工作。 确保您修复了下面列出的问题并再次运行此脚本:
缺少 json 扩展名。 安装它或重新编译没有 --disable-json 的 php
phar 扩展名丢失。 安装它或重新编译没有 --disable-phar 的 php
缺少 ctype 扩展名。 安装它或重新编译没有 --disable-ctype 的 php
上面的错误,如何解决,我已经安装了xampp,composer_setup.exe,但是我想用cygwin终端运行composer。如何运行?
【问题讨论】:
标签: php