CakePHP is version X compatible with PHP Version Y

自闭症网瘾萝莉.ら 提交于 2019-12-11 12:02:50

问题


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?


回答1:


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

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

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/


来源:https://stackoverflow.com/questions/29748611/cakephp-is-version-x-compatible-with-php-version-y

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!