Zend FrameWork 2无法加载layout.phtml

时间:2015-06-21 09:30:21

标签: php zend-framework zend-framework2

我使用zendframework2,我的代码在本地是正常的,但在将我的源代码上传到服务器并在apache上启用模式重写并使用composer安装需求并连接到数据库

我的服务器上出现此错误

Warning: include(): Failed opening '/home/test/www/module/Application/config/../View/layout/layout.phtml' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/test/www/vendor/zendframework/zendframework/library/Zend/View/Renderer/PhpRenderer.php on line 501

我该怎么办?

我检查了apache模块检查文件权限,一切正常

1 个答案:

答案 0 :(得分:0)

问题出在case-sensitive OS。您应该尝试查看而不是查看