composer.json :
"require": {
"cakephp/cakephp": "3.2.1"
}
I plan install cakePHP live on server via composer CentOS7.2/PHP7/MySQL5.6
well to install this exact version with composer this is correct in composer.json???
the below is wrong>>> with tidle ~
"cakephp/cakephp": "~3.2.1"
Yes that will work. You do not want a ~
range. As a ~3.2.1
range, means any version greater than 3.2.1, but not 3.3.x.
1 Like
Thank you for confirming
Indeed I used in root that composer.json
Root of domain hosting Not the root domain cpanel
I run ssh the install command but composer installed 3.2.6 rather says json 3.2.1, well?
Where this composer.json must reside…(To the dir the cli command given???) ? I think composer installed globally on the LAMP VPS…
well, why installed 3.2.6…?
tried on server and localhost but again installs 3.2.6… what CLI command to give having this composer.json in DIR of execution???
Tao
August 4, 2016, 1:15am
6
Dreamweaver?maybe eclipse for php or phpstorm will be great.
dakota
August 4, 2016, 7:08am
7
Your composer.json file probably needs to be in the public_html directory.
Why do you want to install exactly 3.2.1? There are a number of bugs that have been fixed in newer versions of 3.2.
Because my localhost is 3.2.1.
"
Your composer.json file probably needs to be in the public_html directory.
"
If put in this dir from where run the composer install CakePHP command?
Yes is Dreamweaver cs6…