Wednesday, May 4, 2011

Configuring Zend in Ubuntu

Today when i tried to configure Zend Framework in Ubuntu i felt little difficult at first. But then after i configured it successfully it was an easy task actually. I will explain the step what i followed to do this.

First i downloaded the latest version of zend framework from their website.

http://framework.zend.com/download/latest

Then next i changed my include path in my php.ini file to

include_path = ".:/var/www/ZendFramework/library/Zend/:/usr/share/php5:/usr/share/pear"

and restarted my apache webserver.

The next step was in the terminal create a project. Since i didnt install Zend framework tool i followed the following command.

/var/www/ZendFramework/bin/zf.sh create project myprojectname

and then copied the library folder from my ZendFramework to the project i created.


Successfully my project was launched.

http://localhost/ZendFramework/myprojectname/public/index.php

No comments:

Post a Comment