php - 无法在服务器上运行 Zend Framework 2 - 找不到类 'Zend\Mvc\Application'

标签 php zend-framework2

我无法在服务器上运行 ZF2。每次我收到这个错误:

Class 'Zend\Mvc\Application' not found in /home/.../public/index.php on line 12.

在 apache 日志中:

mod_fcgid: stderr: PHP Fatal error: Class 'Zend\\Mvc\\Application' not found in /home/.../index.php on line 12.

我尝试更改 ZF2_PATH 的权限,但没有结果。路径正确。也许这是 mod_fcgid 的问题?

有人有什么想法吗?

最佳答案

不知道到底是哪里出了问题,把php更新到最新的5.4.x系列版本就解决了。但这是 escape_seq 的某种问题。

关于php - 无法在服务器上运行 Zend Framework 2 - 找不到类 'Zend\Mvc\Application',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12722293/

相关文章:

php - LinkedIn 不接收 og :image

php - 在Zf2中,如何在验证失败时添加错误CSS类

php - 如何创建wordpress功能?

PHP header 刷新警告

php - Symfony 配置 : how to differentiate validation based on the value set in the same node level

php - 通过 jQuery 过滤图像集合

zend-framework2 - ZF2,在 View 中获取模块名称,如何?

php - ZF2 2 个模块,每个模块都带有路由器主机名

php - 其他时间戳上的 ZF2 内连接

php - 是否支持在 1 个查询中进行多次插入?