I have been working on Zend. Steps to install Zend and start with its work.
To begin with installation make sure system is configured with apache server, mysql, php.
Zend requires to enable mod_rewrite. So type the following command.
Change the home directory by typing
Now download zend .tar.gz file by typing
Extract the file
sudo tar -xvzf ZendFramework-1.12.3.tar.gz
Open php.ini file in /etc/php5/apache2 directory and change the Zend library.
Find the line
and change it to
Then save the changes and exit.
To make terminal aware of this tool change our .bashrc file.
Add the following line in the end
Save and exit. the source this file by
Now terminal is awared of Zf tool and zf command.
Now to create a project in zend use the following command
zf create project /var/www/app
Then your project is created and now change permissions to your project by
sudo chmod -R 777 /var/www/app
Include Zend-minimal library in your app/library. 2 ways to do:
1. Download Zend Framework minimal package from
Log in to root and extract
tar -xf Zend-minimal.tar.gz
NOTE : directory name: Zend-minimal.tar.gz can vary according to the version of Zend, you downloaded.
Move library directory to app/
cp library /var/www/app/library
2. Copy library directory from /home/ZendFramework-1.12.3/
cp /home/ZendFramework-1.12.3/library/Zend /var/www/app/library
And restart your apache
sudo service apache2 restart
Now point to your browser with your localhost/app/public, default page of your project appears.