【问题标题】:How to install homestead 1.1.0如何安装宅基地 1.1.0
【发布时间】:2019-08-22 00:09:37
【问题描述】:

我需要处理一个使用 PHP5.6 的旧项目,它是一个 Laravel 项目。它的开发人员使用了 vagarant 2.2.2、Virtualbox 版本 5.3.1 和宅基地版本 1.1.0,我安装了 Virtualbox 和 Vagrant,但是我在获取这个宅基地版本时遇到了问题。我在这里找不到它https://github.com/laravel/homestead/releases?after=v2.0.3,我尝试使用另一个版本2.0.0,但是没有init.sh!所以我不能初始化宅基地。我找到了一个包含这个文件的版本v2.1.0。我使用了这个文档https://laravel.com/docs/4.2/homesteadManually Via Git (No Local PHP) 部分,但问题是'laravel/homestead' (v7.1.0) 是正在安装的版本!我真的不明白这个!我在这里做错了什么?有什么建议吗?

【问题讨论】:

    标签: laravel macos homestead php-5.6


    【解决方案1】:

    明显的免责声明:请尽快更新到最新版本的 PHP 和 Laravel。您不会获得 EOL 软件的(安全)更新。

    直接修复:根据release notes,您需要 Homestead 版本 6.4。这是盒子:https://app.vagrantup.com/laravel/boxes/homestead/versions/6.4.0

    【讨论】:

    • 感谢您提供信息,但我收到此错误homestead-7: Failed to restart php5.6-fpm.service: Unit php5.6-fpm.service not found.homestead-7: Failed to restart php7.0-fpm.service: Unit php7.0-fpm.service not found. 我不应该收到此错误,您怎么看?
    猜你喜欢
    • 2017-11-11
    • 2016-10-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-03-30
    • 1970-01-01
    相关资源
    最近更新 更多