Jump to content

ust working out how to use Zend, how do i install?


jarv

Recommended Posts

how do i install Zend Framework? I am testing locally and I extracted the Zend files into my Sites folder on my mac but when I go to one of the Zend demos, I get the following error:

 

 

Warning: require_once(Zend/Loader.php) [function.require-once]: failed to open stream: No such file or directory in /Users/john/Sites/demos/Zend/Gdata/Calendar.php on line 51

 

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader.php' (include_path='.:') in /Users/john/Sites/demos/Zend/Gdata/Calendar.php on line 51

 

Please can someone help?!

Link to comment
Share on other sites

I cannot find the folder php/includes

That you can not find that folder is irrelevant to your problem. Are you using a *nix based OS though and was your php.ini file that way to begin with? Or was that line perhaps commented?

If that folder doesn't exist you can remove that from your include path

 

As mentioned before you need to put lib/Zend somewhere. Change your include_path to the directory that contains ZF:

include_path = ".:/path/to/zend_framework"

 

 

Link to comment
Share on other sites

I can see the files but  can't open them?!

 

What do you mean open them? Zend is a framework and the files within lib/Zend contain classes to be used within your own projects, they don't display anything when viewed via a browser.

 

You really need to take a look at the quickstart but from here, it sounds like you've allot of ground to yet cover before you even bother using any framework.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.