Aamir
Aamir

Reputation: 2283

cakephp installation composer error

  1. 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 ?

  2. 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

Answers (1)

Mazba Kamal
Mazba Kamal

Reputation: 520

  1. you just download it anywhere like Download or Home but to access composer globally you have to move it /usr/local/bin

sudo mv composer.phar /usr/local/bin/composer

now you can use composer just typing composer on terminal. more info

  1. you just need to install this module

sudo apt-get install php5-json

Upvotes: 1

Related Questions