Can I run CakePHP 1.3 with PHP7? I have to do a migration to PHP7, but in the hosting there is a project in CakePHP 1.3 and need to know if there is any risk if I run this project in this version of PHP.
CakePHP is a free, open-source, rapid development framework for PHP. It's a foundational structure for programmers to create web applications. Our primary goal is to enable you to work in a structured and rapid manner–without loss of flexibility. CakePHP takes the monotony out of web development.
A CakePHP Developers are usually responsible for writing server-side web application logic using the CakePHP framework. They mainly develop back-end components and connect the application with the other web services. In addition, they support the front-end developers by integrating their work with the application.
Unfortunately CakePHP 1.3 is not really compatible with PHP7 out of the box. I work on a old project in CakePHP 1.3 and my system upgraded to PHP7. There are a lot of these in the core of CakePHP 1.3
After changing these, I ran into the next batch of errors, after which I rolled back and postponed the upgrade.
So to answer the question, it would be rather risky upgrading to PHP7 if there is a CakePHP 1.3 project.
If you are still looking for a CakePHP 1.3 port to PHP7, you are in luck!
I've ported CakePHP 1.3.21 to PHP 7.3, you can check it out on GitHub.
Please pay attention to the readme, as it naturally requires changes to your own code as well!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With