Cakephp与PHP7 [英] Cakephp with PHP7

查看:94
本文介绍了Cakephp与PHP7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在PHP7上运行CakePHP 1.3吗?我必须迁移到PHP7,但是在托管中,CakePHP 1.3中有一个项目,并且需要知道如果在此版本的PHP中运行此项目是否有任何风险.

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 1.3并非与PHP7真正兼容.我在CakePHP 1.3中处理一个旧项目,我的系统升级到PHP7.这些的核心是很多这些 CakePHP 1.3

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.

因此,要回答这个问题,如果有CakePHP 1.3项目,升级到PHP7会很冒险.

So to answer the question, it would be rather risky upgrading to PHP7 if there is a CakePHP 1.3 project.

这篇关于Cakephp与PHP7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆