开发者

What is the proper way to include the zend framework? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 9 years ago.

Improve this question

I have downloaded the Zend Fr开发者_JS百科amework and put it just above the server root (Where /tmp is and such) and I'm having trouble getting it recognized by a single PHP file. I am using a shared host and this is how I am including the directory:

set_include_path('/home/content/xx/xxxxxxx/zend/library');
require_once('Zend/loader.php');
Zend_Loader::loadClass('Zend_Gdata');


I think your issue is a case sensitivity one. The Zend_Loader class' filename is Loader.php (capital "L").

Try

set_include_path('/home/content/xx/xxxxxxx/zend/library');
require_once 'Zend/Loader.php';
Zend_Loader::loadClass('Zend_Gdata');
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜