2

I have a cakephp website on 2.6 and want to run it on php 7. Will it work if I upgrade cakephp to 2.8?

I have shared server therefore I cannot have php 5.*.

Xic Om
  • 53
  • 2
  • 11

1 Answers1

2

Requirements

Here are the Requirements for running CakePHP 2.x

As longs as you have those you should be fine.

Migration Guide 2.6 -> 2.8

More about PHP7 Compatibility

And make sure you read this migration guide here

There are no breaking changes, but still worth a read.

Ilie Pandia
  • 1,829
  • 14
  • 16
  • 2
    Also learn about [**testing**](https://book.cakephp.org/2.0/en/development/testing.html). Your application should be properly covered by tests so that you can easily check for possible problems after making changes, being it an upgrade, adding functionality, fixing bugs, etc... – ndm May 07 '18 at 09:32
  • 2
    Migration guides are basically a change log and **not** a guide for steps to take to perform an actual migration. Good luck finding those steps. It seems every CakePHP dev makes the assumption you magically have this knowledge. – RyanNerd May 02 '19 at 16:35