Zend Framework is an open source, simple and straightforward object-oriented web application framework for PHP 5. It is used to eliminate the tedious details of coding and allows you to focus on the big picture. Its main backbone is in its highly-modular MVC (Model–View–Controller) design, making your code highly reusable and simpler to maintain.

In this tutorial we will guide you all how to install newly released Zend Framework 1.11.12 version on RHEL 6.3/6.2/6.1/6/5.9/5.8, CentOS 6.3/6.2/6.1/6/5.9/5.8 and Fedora 18,17,16,15,14,13,12 using yum repositories called Remi and EPEL, why we choose these repos, because they updates regularly as compare to any other repositories like Fedora, Centos or RedHat. This guide also works on older version of Linux distributions.
Step 1: Enabling Remi & Epel Repositories
Enable these both yum repositories to install latest Zend Framework. Please select and install proper repository package for your system.
[For RHEL/CentOS 6.3/5.9]
## Epel Dependency on RHEL/CentOS 6 ## # rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm ## Remi Dependency on RHEL/CentOS 6 ## # rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm ## Epel Dependency on RHEL/CentOS 5 ## # rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm ## Remi Dependency on RHEL/CentOS 5 ## # rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
[For Fedora 18-12]
## Remi Dependency on Fedora 18,17,16,15,14,13,12 ## # rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm # rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm ## Remi Dependency on Fedora 18 ## # rpm -Uvh http://rpms.famillecollet.com/remi-release-18.rpm ## Remi Dependency on Fedora 17 ## # rpm -Uvh http://rpms.famillecollet.com/remi-release-17.rpm ## Remi Dependency on Fedora 16 ## # rpm -Uvh http://rpms.famillecollet.com/remi-release-16.rpm ## Remi Dependency on Fedora 15 ## # rpm -Uvh http://rpms.famillecollet.com/remi-release-15.rpm ## Remi Dependency on Fedora 14 ## # rpm -Uvh http://rpms.famillecollet.com/remi-release-14.rpm ## Remi Dependency on Fedora 13 ## # rpm -Uvh http://rpms.famillecollet.com/remi-release-13.rpm ## Remi Dependency on Fedora 12 ## # rpm -Uvh http://rpms.famillecollet.com/remi-release-12.rpm
Step 2: Installing Zend Framework 1.11.12
Once repositories enabled, run the following yum command to install it.
# yum --enablerepo=remi install php-ZendFramework
Step 3: Verify Zend Framework
Verify Zend Framework version by running the command.
# zf show version Zend Framework Version: 1.11.12
Step 4: Creating Zend Project for Testing
Creating new Zend project for testing purpose.
# cd /var/www/html # zf create project tecmint-project Creating project at /var/www/html/tecmint-project Note: This command created a web project, for more information setting up your VHOST, please see docs/README
Step 5: Creating Symbolic Link for Zend Project
Creating symbolic link by copying Zend directory from /usr/share/php/Zend to under /var/www/html/tecmint-project/ directory.
# cd /var/www/html/tecmint-project/library/ # ln -s /usr/share/php/Zend .
Step 6: Checking Zend Project Page
To check Zend project’s index page, open your browser and enter the following address.
http://localhost/tecmint-project/public OR http://YOUR-IP-ADDRESS/tecmint-project/public
Zend Framework Screenshot
Here, is the screenshot of Zend Framework under my CentOS 6.3 Linux box.

If in case, you might having any difficulties while installing, please post your queries using our comment box below. If you liked this article, then don’t forget to share it with your friends.
I have already created project with zend using netbeans with latest component and new version of php 7.
but after creating when I am running my software it is giving me some error like “The requested URL /lca/public was not found on this server.”
Please help me out
@Supriya,
On which Linux distribution you are getting such error, if it’s CentOS, make sure to disable SELinux mode. If it’s already disabled, make sure to check logs for the solution..
Thanks for solution.
Can u please let me know where does this SELinux mode exits
@Supriya,
Its under /etc/sysconfig/SELinux file, try to disable it and restart the machine to take new changes into effect..
Doing above steps have worked fine, but unfortunately they have changed my PHP version from 5.3 to 5.4 without any consent ! :(
I wish to go with php 5.3 version !
HOw can i DO the same ?
SOme-one please reply .
It’s due to latest Zend Framework depends on newest PHP version, that’s the reason it automatically upgraded your PHP version. Going with latest PHP doesn’t harm your any application.
Hi, thanks for the tutorial ..
I have a problem with the next step: # zf show version
I do not see the version.
***************************** ZF ERROR ******************* *************
In order to run the zf command, you need to Ensure That Zend Framework
is inside your include_path. There are a variety of ways That you can
Ensure That this zf command line tool knows where the Zend Framework
library is on your system, but not all of them can be Described here.
….
I use Centos 6.3. The installation has been completed successfully.
Any ideas?
Thanks for sharing.
Hello mates, pleasant piece of writing and fastidious arguments commented here, I am actually enjoying by these.
Perfect instructions. I have never used the remi and epel packages. Can you explain what’s so unique about them that they helped with the installation.
I tried the instructions on the zend site, but I must have missed a few packages as it couldn’t figure out where the zf.php file was it.
I am still missing the phpunit package, but I think I can handle this on my own.
Thanks for PERFECT instructions!
Thank-you for the wonderful instructions.