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

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

报告相同问题?

悬赏问题

  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python
  • ¥15 要给毕业设计添加扫码登录的功能!!有偿
  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥15 stable diffusion
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条