I wrote in Linux Terminal:
curl -s https://getcomposer.org/installer | php
It said:
#!/usr/bin/env php
Some settings on your machine make Com
-
You probably need to enable the extension in your php.ini
file. To find out where that is for command line PHP, do
php --ini
You should see a line like
Loaded Configuration File: /path/to/php.ini
Open that file and look for extension=json.so
. If it's there, uncomment it. If not, add it in. Now you should see json
listed when you do php -m
and composer should work.
- 热议问题