【问题标题】:Zend framework Interface 'Zend\ModuleManager\Feature\ConfigProviderInterface' not foundZend 框架接口 'Zend\ModuleManager\Feature\ConfigProviderInterface' 未找到
【发布时间】:2018-08-13 00:04:36
【问题描述】:

您好,我已按照 Zend 框架 3 的入门教程进行操作,并设法使其正常工作。因此,我决定下载一个新的骨架应用程序并将其改编为像在线商店一样。但是当我通过 wamp 运行 module.php 文件时,我收到以下错误消息:

致命错误:接口 'Zend\ModuleManager\Feature\ConfigProviderInterface' 不是 在第 13 行的 C:\wamp64\www\shop\module\Shop\src\Module.php 中找到

我也尝试在 modules.config.php 中包含 Zend\ModuleManager\Feature\ConfigProviderInterface 但它没有用。有没有其他人有同样的问题?我正在拔头发试图让它发挥作用。

感谢任何愿意提供帮助的人:)

【问题讨论】:

  • 你安装了zendframework/zend-modulemanager吗?
  • 我确实安装了 zendframework/zend-modulemanager,问题是,我试图打开 module.php 文件,而我应该输入我在 module.config 中定义的路线.php.

标签: php zend-framework3


【解决方案1】:

问题是,我试图打开 module.php 文件,而我应该输入我在 module.config.php 中定义的路由

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-02-28
    • 1970-01-01
    • 1970-01-01
    • 2014-05-13
    • 1970-01-01
    • 2012-09-18
    • 1970-01-01
    • 2014-10-22
    相关资源
    最近更新 更多