Monday, February 15, 2010

Zend installation steps

Zend framework requires php5 or later
1)Download the zend framework package from http://framework.zend.com/download/latest

2)Unzip the package and place it where ever you want
Here in my system /usr/var/zendframework

3)Open the zendframework/library and copy the folder path.

4)Open the php.ini file and set the include_path for this libray
Here in my system I have found include_path like include_path = ".:/usr/share/php5:/usr/share/pear , And i added the zend library path like include_path = ".:/usr/share/php5:/usr/share/pear:/var/www/ZendFramework/library"

5)Now we have create alias for zf.sh (self executable file in console for linux) ,To do this run the fallowing command in terminal.
alias zf.sh= /var/www/ZendFramework/bin
6)Run the fallowing command in terminal
zf create project myproject
7)Now directory structure has been created with the name myproject.In this directory you will be given with some sub directories in order to develop your application(project).

No comments: