Composer wird installiert: die json-Erweiterung fehlt

Ich schrieb im Linux Terminal:curl -s https://getcomposer.org/installer | php Es sagte

 #!/usr/bin/env php
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

Ich war das:apt-get install php5-json Also, ich denke, es ist installiert. Aber das seltsame ist, wenn ich @ schreiphp -m Es gibt mir eine Liste ohne json:

[PHP Modules]
bcmath
bz2
calendar
Core
ctype
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gettext
hash
iconv
libxml
mbstring
mhash
openssl
pcntl
pcre
Phar
posix
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]

nd wenn ich schreiphp5-fpm -m Es sendet dies:

[PHP Modules]
bcmath
bz2
calendar
cgi-fcgi
Core
ctype
curl
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
mbstring
mcrypt
mhash
mysqli
openssl
pcre
PDO
pdo_mysql
Phar
posix
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]

Was mache ich falsch? Ich habe die Lösung bei GitHub und Google @ nicht gefund

Antworten auf die Frage(6)

Ihre Antwort auf die Frage