CakePHP X版本与PHP Y版本兼容 [英] CakePHP is version X compatible with PHP Version Y

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

问题描述

我目前正在将CakePHP 2.1.1与PHP 5.3结合使用,并希望升级到PHP 5.5(集成的OPCache),尽管我不确定CakePHP是否与它兼容。

I'm currently using CakePHP 2.1.1 with PHP 5.3 and want to upgrade to PHP 5.5 (integrated OPCache), though I'm not sure if CakePHP is compatible with it. Is there an easy way to figure out if those two versions are compatible without installing it beforehand?

在文档中可能有一些提示吗?

Maybe some hint in the documentation?

推荐答案

首先,您应该真正地真正升级CakePHP安装,2.1.1已经使用3年以上了。

First of all, you should really, really upgrade your CakePHP installation, 2.1.1 is already 3+ years old.

话虽如此,您始终可以检查Travis CI配置和特定分支/版本的结果,以了解哪些PHP版本兼容。首先针对PHP 5.5测试的CakePHP版本是2.3.6版本。

That being said, you can always check the Travis CI configuration and results for a specific branch/version to figure which PHP versions are compatible. The first CakePHP version being tested against PHP 5.5 out of the box is version 2.3.6

如果所需的PHP版本尚未进行测试,您可以随时进行分叉CakePHP GitHub存储库,并将其他PHP版本添加到Travis CI配置中以查看测试是否通过(需要Travis CI帐户和GitHub Hook)。

In case the desired PHP version isn't being tested already, you can always fork the CakePHP GitHub repo and add additional PHP Versions to the Travis CI configuration to see whether the tests are passing (requires a Travis CI account and a GitHub Hook).

  • https://github.com/cakephp/cakephp/blob/2.1.1/.travis.yml#L3
  • https://travis-ci.org/cakephp/cakephp
  • http://docs.travis-ci.com/user/getting-started/

这篇关于CakePHP X版本与PHP Y版本兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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