
Follow me ....
- Download Zend Framework (.rar or .tar) from http://framework.zend.com/
- Un-rar and copy this folder to /var/www/
- Remove version number from that downloaded folder for example,Zend Framework-1.9.0 to Zend Framework.
- Goto Terminal type :
- gedit ~/.profile
Now type the path where you past Zend Framework but must follow the placement of line, see below image.
Now simply type an ALIAS which you want to reference to your website on localhost, for instance for my website i write " mywebz ", but must follow the format : Alias /mywebz "/var/www/myweb/public"
Now save and close this file.
- Atlast to set the above configuration you must restart the apache server.
- To resatrt apache server, in Terminal type :
- sudo /etc/init.d/apache2 restart
To test your configuration, in Terminal type :
- echo $PATH
/var/www/ZendFramework:/var/www/ZendFramework/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
then fine.
- Now type in Terminal :
- cd /var/www/web_folder
- Finally type :
- zf.sh
Congratulation ... !You have installed Zend Framework successfully .
1 comment:
Its very very easy guide.
Good yar
Post a Comment