Home >Backend Development >PHP Tutorial >zf 配置有关问题

zf 配置有关问题

WBOY
WBOYOriginal
2016-06-13 10:04:40841browse

zf 配置问题
刚安装完毕并且能正常显示demo内容,现在想自定义一个
结果按照http://blog.sina.com.cn/s/blog_650d2bb70100yk7z.html这里途径二的方法,将原来的index改成他的
结果就不能显示了 以下是log 的报错:
[Wed Oct 19 16:28:07 2011] [error] [client 127.0.0.1] PHP Fatal error: Uncaught exception 'Zend_Config_Exception' with message 'parse_ini_file(./application/config/config.ini): failed to open stream: No such file or directory' in /usr/share/php/libzend-framework-php/Zend/Config/Ini.php:181\nStack trace:\n#0 /usr/share/php/libzend-framework-php/Zend/Config/Ini.php(201): Zend_Config_Ini->_parseIniFile('./application/c...')\n#1 /usr/share/php/libzend-framework-php/Zend/Config/Ini.php(125): Zend_Config_Ini->_loadIniFile('./application/c...')\n#2 /var/www/kimi/public/index.php(12): Zend_Config_Ini->__construct('./application/c...', NULL, true)\n#3 {main}\n thrown in /usr/share/php/libzend-framework-php/Zend/Config/Ini.php on line 181

[Wed Oct 19 16:28:07 2011] [debug] mod_deflate.c(615): [client 127.0.0.1] Zlib: Compressed 0 to 2 : URL /index.php
这是哪里不对 求解答,谢谢

------解决方案--------------------
确认目录,文件名是否正确,包括大小写也要正确。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn