The easiest way to install Zend Framework is using the autoinstall script provided by Zend. This autoinstall script will automatically install Zend Server which include apache, php, Zend database and Zend framework. Optionally you can also installed it with ngnix server.
1. Download the autoinsatll tarball package from Here [ http://www.zend.com/en/products/server/downloads ]. Extract this tarball somewhere.
2.Open Terminal got change directory to the extracted package and execute the shell scripts named install_zs.sh .
If you want to install the package with apache http server then just pass the php version as parameter. e.g: sudo sh install_zs.sh 5.4 , where 5.4 is php version. If you want to install it with ngnix server, pass ngnix and php version as parameter. e.g. sudo install_zs.sh ngnix 5.4.
Install Zend Server with apache HTTP server and PHP 5.4:
# sh install_zs.sh 5.4
Install Zend Server with ngnix HTTP server and PHP 5.4:
# sh install_zs.sh 5.4 ngnix
3. This script will automatically install Zend server on your system. Now open https://localhost:10082/ZendServer in your browser, it will ask you to set up admin and developer password and environment (Development/Production) for Zend server. That’s all. You have successfully installed Zend server.
Additional Step:
4. In order to run php binary from anywhere and make Zend libraries accessible from anywhere, we need to define path variables for it. Go to home directory and open .bash_aliases using any text editor. Put following two lines in this file:
PATH=$PATH:/usr/local/zend/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/zend/lib/usr/local/zend is your Zend server installation path.
This post first appeared on Technohunk.com| Daily Hacks In Plain English!, please read the originial post: here