当我尝试这个时:
require_once 'Zend/Config/Ini.php';
我在Zend Framework应用程序中收到此错误:
Warning: require_once(Zend/Config/Ini.php) [function.require-once]: failed to open stream: No such file or directory in /path/to/functions.php on line 408
当我打印出包含路径时,它是:
string(101) "/path/to/www/app/modules/:/path/to/www/lib/:.:/usr/local/share/pear"
我在/ path / to / www / lib /文件夹中有ZF库,所以wtf?
答案 0 :(得分:0)
这解决了这个问题:
chmod -R 755 /path/to/www/lib
啊呀!