douchui4459 2016-03-15 14:46
浏览 53
已采纳

使用Composer 3.1版安装CakePHP。*

My problem is that not all server run PHP 5.6 or above. So I need use a older version of CakePHP 3.1.* that support PHP 5.5.*/5.4.* .

The problem is the Composer install solution:

composer create-project --prefer-dist cakephp/app:3.1.9 demo

Gives me an error:

Could not find package cakephp/app with version 3.1.9

I have tried other version (3.1.11/12/10) without success. Is there a way or do I need to download the releases manually from GitHub every time?

  • 写回答

1条回答 默认 最新

  • douqinlin5094 2016-03-15 15:04
    关注

    cakephp/app is a different repository from cakephp/cakephp. So it follows it's own versioning.

    cakephp/app is a template/skeleton that you can use to create your app. While cakephp/cakephp is the main core.

    Check below for the cakephp/app:

    I guess you could use the version 3.1.2 of cakephp/app that allows you to have PHP >= 5.4

    https://github.com/cakephp/app/blob/3.1.2/composer.json#L8

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥30 vmware exsi重置后登不上
  • ¥15 易盾点选的cb参数怎么解啊
  • ¥15 MATLAB运行显示错误,如何解决?
  • ¥15 c++头文件不能识别CDialog
  • ¥15 Excel发现不可读取的内容
  • ¥15 关于#stm32#的问题:CANOpen的PDO同步传输问题
  • ¥20 yolov5自定义Prune报错,如何解决?
  • ¥15 电磁场的matlab仿真
  • ¥15 mars2d在vue3中的引入问题
  • ¥50 h5唤醒支付宝并跳转至向小荷包转账界面