我正在尝试在我的 Ubuntu 13.10 机器上安装 composer,但出现以下错误:
Some settings on your machine make Composer unable to work properly.
Make sure that you fix the issues listed below and run this script again:
The json extension is missing.
Install it or recompile php without --disable-json
php --version
给了我PHP 5.5.3-1ubuntu2 (cli)
,所以我认为它应该安装 json 扩展。