Installing Zend Framework on Debian 7.5

Zend Framework 2 is an open source framework for developing web applications and services using PHP 5.3+ using 100% object-oriented code and utilises most of the new features of PHP 5.3, namely namespaces, late static binding, lambda functions and closures. The components form a powerful and extensible web application framework and also offers a robust, high performance MVC implementation, a database abstraction that is easy to use, a forms component that implements HTML5 form rendering, validation and filtering as well as other components that provides authentication and authorization against common credential stores.

Downloading Zend Framework

To download the latest release of the Framework, we access it at

Installing Zend Framework

Once downloaded, we can extract the archive to /usr/share/zend and re-use it in multiple applications.

Setting up Zend Framework

To use the shared Zend Framework library in our application, we set an environment variable in our virtual server to point to the installation directory of our library.

    SetEnv ZF2_PATH /usr/share/zend/ZendFramework-2.3.1/library

An alternative is to have the library on a per-application basis as per the skeleton application.


One thought on “Installing Zend Framework on Debian 7.5

Comments are closed.