Hi, I am Hari om karwal. I am also new to Zend framework and learning it day by day. I have read and seen many articles and videos regarding Zend framework installation on windows. Here I am sharing some knowledge how to complete install zend framework on your xampp on windoes. I hope this will help a lot for Beginners to install and configure Zend Framework in few steps:

Ten steps to install Zendframework on xampp server.

1. Download Zend Framework complete pakage (zend.com) and xampp server.

2. Install xampp on any drive. I have installed it in (G:/) you can install this in any drive you want.

3. Now extract the downloaded Zend framework set up we will see the following directries:

4. Now we have to configure and place the Zend framework directories on particular places so that it can work properly.

5. Now copy the Zendframework set up folder and place it to:

G:\xampp\php\ZendFramework

6. Now replace the “zf.bat and zf.php” present in the “G:\xampp\php” with the new one from Zendframework setup:

Note: zf.bat and zf.php of may be different versions so to avoid this, use latest version. otherwise it will not allow some Zend command line tool to work properly.

G:\xampp\php\ZendFramework\bin (containing the zf.bat and zf.php)

7. Check that folder “zend” should be present in “G:\xampp\php\PEAR” and replace it with the new “zend” folder present in the Zendframework set up.

Note: The zend folder present in the “xampp\php\PEAR” may be of older version which will not match with the Zendframework version so to avoid the problems in future, use the fresh “Zend” directory from the setup.

8. Now open the php.ini set include_path to :

;G:\xampp\php\ZendFramework\library;G:\xampp\php\ZendFramework\bin

9. Now set the ENVIRONMENT VARIAB1LE > “Path” in (advance system settings). Add this line to Path:

;G:\xampp\php;G:\xampp\php\ZendFramework\library

10. The Installation is complete, now refresh the xampp setup.


We have learned how to install zend framework. Now we will see how to set up the project

a. Build a project

To build a zendframework full project(no a quickstatr package) we have to use command line tool and with the zend command we will create the project:

zf create project zendtest

 

b. The zend project has been created. you can see the project in your “xampp/htdocs/zendtest”

c. See the first view of your zend framework project:

open any web browser go to the path where “zendtest” is located” (http://localhost/zendtest)

Click on the public:

This is the first look of Zendframework application and now you can start to create your own applications

I hope this will help a lot for beginners to install zendframework and i will come out with the more solutions and knowledge sharing points. 

“Thanks”

21 Responses to Zend Framework Installation on Xampp Server

  1. Pingback: Zend Framework installation

  2. ravinesh says:

    Hi hari

    Its good installation for zend beginners

    Thanks for your easy zend installation

  3. madhu says:

    Thanks so much. Good tips. It saved me time.

  4. farouk says:

    thx is reallly easy

  5. jacow says:

    why i can’t build a zendframework full project use command prompt ?

  6. R says:

    Best ever tutorial….i say this after spending half a day on other websites…
    thanks a ton man

  7. Kiran says:

    Thanks Bro. Very helpful. And worked great

  8. Alecka Fajardo says:

    Thank you so much for this information. I find it very useful and it works in my PC. Now i can create my own PHP apps in Zend Framework..i will have an exam next week on May 24.Wish me luck.thanks

  9. siva says:

    nice.thanq very much

  10. Riyas says:

    It works

  11. Crystal says:

    Hi,

    Thank you very much. Your tutorial has really helped. I had spent over 5 days trying to set up zend framework with no success. I just stumbled on your tutorial and i have been able to set it up.

    Thanks again. I look forward to more tutorials from you.

  12. Nishanth says:

    I have done all the steps in installing zend framework and xampp. When I come to the step to create a folder using the command “zf create folder zendtest”, it says that “zf is not recognized as an internal or external command, operable program or batch file” !!! please give a solution to this !!!

  13. roat says:

    Hi!
    Thanks for your work.

    I have a problem. When I type localhost/zendtest/

    it did show the picture in your part C, but I can’t find the folder public.
    Even I try to type localhost/zendtest/public
    it will show page not found..

    Pls tell me what should I do?

    Thanks

  14. Jay Hardia says:

    Thanks a lot.
    I have successfully installed zend framework on my system.
    I waiting for some more articles on zend ..

  15. Neeraj Sahu says:

    Tthanks from my heart.
    I was so worry and looking for this solution and finally got it.

  16. Kapil Dhiman says:

    Good Steps.Thanks!

  17. Pradap adwani A says:

    I have done all the steps in installing zend framework and xampp. When I come to the step to create a folder using the command “zf create folder zendtest”, it says that “zf is not recognized as an internal or external command, operable program or batch file” !!! please give a solution to this !!!

  18. srinivas says:

    Hi i am also facing same problem when i am trying to create zendtest folder it showing like ‘zf is not recognized as an internal or external command, operable program or batch file’ please give me any solution for this issue.

  19. abhishek says:

    this means you have some issue with environment variables. please check and reset it.

  20. Gaurav says:

    Hey Thanks to help beginners

  21. TAHIR MOHD says:

    thanks you so much my brother

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>