【问题标题】:symfony4 Could not open input file: bin/symfony_requirementssymfony4 无法打开输入文件:bin/symfony_requirements
【发布时间】:2018-02-06 16:54:41
【问题描述】:

我正在使用这些说明部署一个 Symfony4 项目:

https://symfony.com/doc/current/deployment.html#common-post-deployment-tasks

说:

A.检查要求

通过运行检查您的服务器是否满足要求:

$ php bin/symfony_requirements

它不起作用。

$ php bin/symfony_requirements
Could not open input file: bin/symfony_requirements

应用程序/控制台是否必须以不同的方式完成?

【问题讨论】:

标签: symfony symfony4


【解决方案1】:

我认为您应该阅读此文档; https://symfony.com/doc/current/reference/requirements.html

cd your-project/
composer require requirements-checker

检查命令控制台的要求

需求检查工具会在您的 Composer 配置中添加一个脚本来自动检查需求。无需执行任何命令;如果有任何问题,您会在控制台输出中看到它们。

【讨论】:

    猜你喜欢
    • 2017-02-24
    • 2018-04-21
    • 1970-01-01
    • 1970-01-01
    • 2021-07-16
    • 2014-01-13
    • 2015-12-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多