# Upgrading from 2.10 to 3.6 with Upgrade Tool

**URL:** <https://discourse.cakephp.org/t/upgrading-from-2-10-to-3-6-with-upgrade-tool/5149>\
**Category:** Need Help\
**Created:** [October 24, 2018, 11:05am UTC](https://discourse.cakephp.org/t/upgrading-from-2-10-to-3-6-with-upgrade-tool/5149 "2018-10-24T11:05:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterg](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@peterg](https://discourse.cakephp.org/u/peterg)\
**Post date:** [October 24, 2018, 11:05am UTC](https://discourse.cakephp.org/t/upgrading-from-2-10-to-3-6-with-upgrade-tool/5149/1 "2018-10-24T11:05:41Z")

</div>

Hi, I’m trying to perform the above upgrade, but not doing well at all.  
I’ve tried (a)copying my existing app to a new folder and running the upgrade tool on that folder, and also (b)installing 3.6 then copying the app folder from the 2.10 application into the 3.6 folder and running the update tool. Each approach gets me different syntax errors in the Cake code if I try to run the app.  
Both approaches used upgrade all.  
Is (a) or (b) the correct approach, or should I be doing something else please?

---

<div class="post-metadata">

**Author:** ![dakota](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/dakota/32/1421_2.png) [@dakota](https://discourse.cakephp.org/u/dakota)\
**Post date:** [October 24, 2018, 1:37pm UTC](https://discourse.cakephp.org/t/upgrading-from-2-10-to-3-6-with-upgrade-tool/5149/2 "2018-10-24T13:37:20Z")

</div>

The upgrade tool only does the processes that can be automated and errors are to be expected. You then need to manually fix each error and do that changes that the upgrade tool could not do.

---

<div class="post-metadata">

**Author:** ![peterg](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@peterg](https://discourse.cakephp.org/u/peterg)\
**Post date:** [October 24, 2018, 3:52pm UTC](https://discourse.cakephp.org/t/upgrading-from-2-10-to-3-6-with-upgrade-tool/5149/3 "2018-10-24T15:52:36Z")

</div>

Thanks for responding. Errors are what I expected, but I expected Cake to throw errors in my app code, rather than syntax errors to be reported in Cake’s code.  
Do you, or anyone else reading this, have any thoughts on whether my (a) or (b) approach should work?  
Thanks

---

<div class="post-metadata">

**Author:** ![peterg](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@peterg](https://discourse.cakephp.org/u/peterg)\
**Post date:** [October 25, 2018, 8:19am UTC](https://discourse.cakephp.org/t/upgrading-from-2-10-to-3-6-with-upgrade-tool/5149/4 "2018-10-25T08:19:44Z")

</div>

Some Progress. I ran the update tool on a copy of the 2.10 app, but had to run each subcommand separately in the order in the update tool documentation, omitting skeleton and prefixed\_templates. I then copied the app/src directory from the 2.10 app to the src directory on the new build 3.6.12 app. I now get a fatal error from a file in the src directory, which is much more what I expected.

---

<div class="post-metadata">

**Author:** ![prem](https://avatars.discourse-cdn.com/v4/letter/p/8797f3/32.png) [@prem](https://discourse.cakephp.org/u/prem)\
**Post date:** [April 22, 2026, 12:37pm UTC](https://discourse.cakephp.org/t/upgrading-from-2-10-to-3-6-with-upgrade-tool/5149/5 "2026-04-22T12:37:54Z")

</div>

My current project is built on CakePHP 2.x. I would like to upgrade it to CakePHP 5.3. Could you please provide the recommended approach, including necessary commands and migration steps? please give me tool name
