Zend Framework as a Shared Library

hm2k

Well-Known Member
Jul 19, 2005
93
0
156
Recently I see a lot of users using the same Zend Framework library.

Zend Framework is NOT to be confused with Zend Optimiser, these aren't the same thing.

Zend Framework is available for download here:
Zend Framework: Downloads

To use Zend Framework in your PHP scripts you must add it to PHP's include path.

There are a number of ways to do this...
Either in php.ini; as a httpd directive in htaccess; or actually using PHP itself (set_include_path).

I figured placing it in "/usr/share/" (same dir pear uses) and adding that path to the "php.ini" for the includes will be enough.

Has anyone else had much experience with Zend Framework as a shared library?
 

cookiesunshinex

Well-Known Member
Jun 10, 2005
77
0
156
I'm interested in the answer to this question as well.

I've just started learning PHP and interested in using Zend Framework.

From reading various bits of information, it seems that the easiest way to utilize the Zend Framework is to install the Library folder which contains the Zend Framework files into ~/useraccount/Library for any accounts on the server that want to use Zend Framework.

However, what if I want to provide the Framework for all of the accounts on my server?