shridhar p
shridhar p

Reputation: 31

Cakephp 2.4 on PHP 7.3

We have an application built and running on CakePHP V2.4. This is running on PHP V5.6. We would like to get this running on PHP V7.3.
Can you advise on how to do this and your experience with such a change.

Upvotes: 2

Views: 4008

Answers (2)

Sehdev
Sehdev

Reputation: 5682

Cakephp 2.4 doesn't support PHP 7. As per Cakephp 2 requirements:

PHP 5.3.0 or greater (CakePHP version 2.6 and below support PHP 5.2.8 and above). CakePHP version 2.8.0 and above support PHP 7. To use PHP above 7.1 you may need to install mcrypt via PECL. See Security for more information.

So if you want to use PHP 7 then you have to use Cakephp 2.8 or greater version. Cakephp -> Installation -> Requirements

Upvotes: 1

Greg Schmidt
Greg Schmidt

Reputation: 5098

You will need to upgrade your application to at least Cake 2.10. I believe that's compatible with PHP 7.2, anyway; not sure about 7.3. Migration guides for the various point releases are here.

Upvotes: 0

Related Questions