Programmer's Reference Guide

1.2. Installation

Zend Framework requires PHP 5.1.4 or higher, although Zend strongly recommended 5.2.3 or higher as there were some critical security and performance enhancements introduces between these two versions. You can find more details in the requirements appendix.

Installing Zend Framework is extremely simple. Once you have downloaded and extracted the framework, you should add the /library folder in the distribution to the beginning of your include path. You may also want to move the library folder to another- possibly shared- location on your filesystem.

  • Download the latest stable release. This version, available in both .zip and .tar.gz formats, is a good choice for those who are new to Zend Framework.

  • Download the latest nightly snapshot. For those who would brave the cutting edge, the nightly snapshots represent the latest progress of Zend Framework development. Snapshots are bundled with documentation either in English only or in all available languages. If you anticipate working with the latest Zend Framework developments, consider using a Subversion (SVN) client.

  • Using a Subversion (SVN) client. Zend Framework is open source software, and the Subversion repository used for its development is publicly available. Consider using SVN to get the Zend Framework if you already use SVN for your application development, want to contribute back to the framework, or need to upgrade your framework version more often than releases occur.

    Exporting is useful if you want to get a particular framework revision without the .svn directories as created in a working copy.

    Checking out a working copy is good when you might contribute to Zend Framework, and a working copy can be updated any time with svn update.

    An externals definition is highly convenient for developers already using SVN to manage their application working copies.

    The URL for the trunk of the Zend Framework SVN repository is: http://framework.zend.com/svn/framework/standard/trunk

Once you have a copy of the Zend Framework available, your application needs to be able to access the framework classes. Though there are several ways to achieve this, your PHP include_path needs to contain the path to the Zend Framework library.

Zend provides a QuickStart to get you up and running as quickly as possible. This is an excellent way to begin learning about the framework with an emphasis on real world examples that you can built upon.

Since Zend Framework components are loosely coupled, you may use a somewhat unique combination of them in your own applications. The following chapters provide a comprehensive reference to Zend Framework on a component-by- component basis.