Install Zend Framework on CentOS/Fedora/RHEL/Ubuntu

Install Zend Framework
Zend Framework is an open-source, object-oriented web application framework implemented in PHP. This article will help you to know how to install Zend Framework on CentOS/Fedora/RHEL/Ubuntu.

Zend Framework is an open-source, object-oriented web application framework implemented in PHP. How to install Zend Framework in a Linux server? Well, follow the steps given below.

Go to /opt, download the latest Zend Frame version from here and untar it.

cd /opt
tar -xzvf ZendFramework-1.11.4.tar.gz
cd ZendFramework-1.11.4

 

Find your main php.ini file and take a backup of it. Run the command given below. This will show you the main php.ini location.

php -i | grep php.ini
cp -arp /usr/local/lib/php.ini /usr/local/lib/php.ini.bck

 

Edit the file

vi /usr/local/lib/php.ini

 

You can find a directive “include_path” and add the library folder “/opt/ZendFramework-1.11.4/library/” from the extracted tar file.
An example is given below.

include_path => .:/usr/lib/php:/usr/local/lib/php:/opt/ZendFramework-1.11.4/library/

 

Now copy the zf.sh and zf.php to the bin folder.

cp -arp /opt/ZendFramework-1.11.4/bin/zf.sh /usr/local/bin/
cp -arp /opt/ZendFramework-1.11.4/bin/zf.php /usr/local/bin/
cd /usr/local/bin/

 

Rename the zf.sh to zf

mv zf.sh zf

 

Check the working.

[root@server ~]# zf show version
Zend Framework Version: 1.11.4

 

So that’s how you install Zend Framework!

Share this post

Services to Explore

Stay up to date!

Stay up to date with the Web Hosting, Cloud and Server Management Industry News and Tutorials!

We will send you only the relevant emails, and we respect your privacy. Please review our privacy policy for more info.

Linux Management Services

Focus on your business, and let us take care of your Linux Servers!
From what you are reading, it seems you are interested in Linux and related technologies. If you have a moment to spare, please take a look at our Linux Management Services plan, which might interest you even more!
Linux Management Plan

Value-Added Services

We have services that can help you run a successful business. With us, you don't have to worry about these areas because our experts will take care of it for you.

ServerHealers uses cookies.