On 7/24/07, Lekan <[EMAIL PROTECTED]> wrote:
Can anyone tell me how to go about installing ZF on an already existing site?
To start using ZF in an existing application you need to first copy ZF into a directory, probably '/library', then add the library directory to your include path if it isn't already, see http://us2.php.net/set_include_pathfor more info. After that, you will probably want to include the Zend_Loader by doing something like this, but it isn't necessary: require "Zend/Loader.php"; At that point, ZF is "installed" and you can start loading the ZF classes and using them wherever you want, for instance: Zend_Loader::loadClass( 'Zend_Session' ); Zend_Session:start(); Dillon
