Reputation: 2283
I'm new to cakephp, when I try to install composer using curl, "curl -s https://getcomposer.org/installer | php", I don't know where I supposed to install it in terminal, I mean which directory in terminal ?
I got an error and the error is "The json extension is missing. Install it or recompile php without --disable-json "
Upvotes: 0
Views: 104
Reputation: 520
/usr/local/bin
sudo mv composer.phar /usr/local/bin/composer
now you can use composer just typing composer on terminal. more info
sudo apt-get install php5-json
Upvotes: 1