Nik*_*dis 29 php ubuntu json composer-php
我正在尝试在我的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
Run Code Online (Sandbox Code Playgroud)
php --version
给了我PHP 5.5.3-1ubuntu2 (cli)
所以我认为应该安装json扩展.
Ruf*_*nus 47
只需安装模块:
sudo apt-get install php5-json
Run Code Online (Sandbox Code Playgroud)
编辑 - 原因:
见Heanzo Beanzo评论:
由于许可证冲突,它已在最近的软件包中被删除, 请参阅php.net上的错误.
归档时间: |
|
查看次数: |
24590 次 |
最近记录: |