开发者

"failed to open stream: No such file or directory", but the file is in PHP's include_path

Using Lampp in Ubuntu, I set the include_path of my php.ini to "/usr/share/php/libzend-framework-php" for me to get to zend library.

But开发者_JAVA技巧 when I use it in a code, like say:

require_once "Zend/Loader/Autoloader.php";

I'm getting an error- "failed to open stream: No such file or directory". I'm totally lost. I don't know why my script aren't getting the file when it is actually there.


According to http://packages.ubuntu.com/natty/all/libzend-framework-php/filelist, the file in question might be called "Autoloader.php", not "Autoload.php".

The ZF documentation appears to back this up:
http://framework.zend.com/manual/en/zend.loader.autoloader.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜