问题
I have developed a project with cakephp-1.3.10 .
Now I want to upgrade it to cakephp-1.3.11.
What's the easiest process to upgrade from cakephp-1.3.10 to cakephp-1.3.11 ?
回答1:
download the cake zip, unpack, delete the app folder, put your app folder in.
回答2:
I'm sure you can't use composer! And there's a high cost in upgrading by a large jump between versions, meaning that you will end up with a lot of deprecated code.
I would go like:
- complete backup
- upload your app to a Github repository
- tag your code
- create a new branch
- upload your new code
- debug
- merge branch
回答3:
since you were just upgrading from 1.3.10 to 1.3.11 the simplest way would have been to download latest cakephp and then simply copy lib/ folder from the downloaded folder and replacing it with your existing cakephp/lib/ folder. I would prefer to download latest version from cakephp's official website https://cakephp.org/
Note- If you have to upgrade from 1.x to 3.x then you have to move from 1.x to 2.x and then 2.x to 3.x, direct migration from 1.x to 3.x is not possible
来源:https://stackoverflow.com/questions/7342786/cakephp-question-how-can-i-upgrade-a-cakephp-project-from-cakephp-1-3-10-to-cak