本地项目是使用TP5.0开发,搬线上就自动更新5.1

浏览:1097 发布日期:2018/01/06 分类:求助交流 关键字: 安装5.0
线上自动更新为5.1 路由目录结构改变了 访问不到
如何指定安装5.0的
线上环境是 lnmp
php5.6.12
composer.json{
    "name": "topthink/think",
    "description": "the new thinkphp framework",
    "type": "project",
    "keywords": [
        "framework",
        "thinkphp",
        "ORM"
    ],
    "homepage": "http://thinkphp.cn/",
    "license": "Apache-2.0",
    "authors": [
        {
            "name": "liu21st",
            "email": "liu21st@gmail.com"
        }
    ],
    "require": {
        "php": ">=5.4.0",
        "topthink/framework": "^5.0",
        "phpoffice/phpexcel": "^1.8",
        "firebase/php-jwt": "^4.0",
        "monolog/monolog": "^1.22",
        "endroid/qrcode": "^2.2",
        "flc/alidayu": "^2.0",
        "topthink/think-image": "^1.0",
        "anerg2046/sns_auth": "^1.1",
        "erusev/parsedown": "^1.6",
        "hisune/echarts-php": "^1.0"
    },
    "extra": {
        "think-path": "thinkphp"
    },
    "config": {
        "preferred-install": "dist"
    }
}
最佳答案
评论( 相关
后面还有条评论,点击查看>>