Wednesday, 25 December 2013

Setting up Zend framework part 1

Before starting, lets first install XAMPP, Install file can be downloaded from HERE. Installation is simple and easy, by clicking next several times it will install your XAMPP server in C:/xampp…..
Hope you will face no problem in installing the XAMPP server.


Now let us install ZEND framework. Zip file can be downloaded from HERE. Download the Zend Framework 1. When the File is downloaded, just UnZip the File in C:/xampp/htdocs/ folder. Now go to C:/xampp/php/php.ini file, open the file in Notepad. Search for “include_path”, Under the Paths and Directories Uncomment the include_path of the Windows or Linux depending upon the Operating system.
and add the path to the include_path ...like


Now go to My Computer/Properties/Advance System Sittings/Environment Variables.
When you click Environment Variables, a new window will pop up,


 select path and click Edit, now, add the following code at the end of the Given path,
;C:/xampp/htdocs/Zend/bin and click save.


Now our zend framework is ready to use,
For checking, open command prompt, type "zf" and you will see information about zend framework. Like that…


Now go to command prompt and than to your root folder, type zf create project helloworld and press enter. Your first zend project is created.The Directory structure is like that...


Now open browser and type localhost/helloworld/public and you will see a start screen like that..




No comments:

Post a Comment