Installing Zend Framework on WAMP

I am working on WAMP (Windows Apache Mysql PHP) Server and found some difficulties to setup Zend Framework environment. You may found some difficulties in installing the zend framework, that’s why I have written this article, hope you will found find this article helpful.
Suppose you have WAMP installed on C drive (C:/wamp)

There are some basic requirements for setup:
1: Php version should be greater than PHP 5.2.x

2: Load mod_rewrite Rule: Web Server (Apache) supports mod_rewrite rule to support .htaccess file. so to load this module, in Apache folder there is httpd.conf file (C:/wamp/bin/apache/Apache2.2.11/conf/)

#LoadModule rewrite_module modules/

Uncomment it (means remove “#”)

3: Download Framework: Download ZendFramework archive. It can be download from in a .zip or .tar.gz format and extract it.

4: Setting Up Zend Tool: Create a new directory on Programe Files named as “ZendCli” and paste library and bin folder to this directory extracted from ZendFramework archive.

5: Add the bin directory to Environment variable: On computer properties advance options there is PATH variable.

Add     ;C:\Program Files\ ZendCli \bin

To execute php on CLI (Command Line Interpreter) mode, add php to environment variable


Now Reboot the System to set all environment variables.

6: Testing Zend: To test your installation open a command prompt and type
zf show version
if all work fine, your should see
Zend Framework Version: 1.10.0
If not, then check all the path and bin directory, once zf tool is working. We have all zf command available and can start working on Zend framework.

7: Now open a command prompt, traverse to your root directory and type
zf create project zfPrj
this command will create a directory structure for working on framework as shown in figure below:

This figure illustrates the structure of Zend framework. application directory is where the source code is available, public folder is where the website executes.

8: The last work is to copy the library/zend/ directory from Zend archive to our application zfPrj/library. After doing this browse this URL /public/

Getting this screen on your browser means all is fine and we can now work on application.

Getting this screen on your browser means all is fine and we can now work on application.

24 Responses to Installing Zend Framework on WAMP

  1. Parveen says:

    Nice to install zend framework on our system .It is very typical task for a person who not know about framework and configuration for the zend framework in the php.ini file .

    So i am very thankful for such a mind blowing post for the person who want to work on zend framework.

  2. Vijay says:

    badhiya sah ji. Thanks for the article. It will be a help indeed.

  3. prakash says:

    Ye to theak hai sah ji par Zend hota kya ye hi nehi pata mujko to…..

  4. Bimlesh says:

    grt work bhai. It will help me to install the same. Thanks

  5. Lalit says:

    Awesome!! Thank you very much for this article. Really works 🙂

  6. laxmi kalke says:

    its not working error is there
    ‘zf’ is not recognized as internal or external command

  7. Alok says:

    hey .. im doin ma project in php nd i installd zend framework .. thnkx 4 ur steps ! 🙂 🙂

    can do give some ideas about modifyin the zend for concolic testing ??

    u knw abt it ? ?

  8. Anand Chowdary Simhadri says:

    its working fine, thank u so much.

  9. Rolly says:

    I a having some problems with the installation. Whenever I try to test it on CMD, the error was zf is not recognized. What is the problem?

    • Alok Sah says:

      First try either php is running on cmd, if yes then zendframework path is not properly set. this is may be the cause it is not recognizing zf. In my article point no. 4 and 5 plz check..Thankyou

  10. sunny says:

    great article

  11. Masis says:

    Great Article! Also you have to go to your httpd.conf file and add this line

    Options FollowSymLinks
    AllowOverride All

    Source from

  12. Santosh says:

    The greatest way than other. now its working fine. Thank you very much…

  13. Keyur says:

    Very nice tutorial for installation for the beginner!

    very much thank ful to the publisher for giving such a easy directions for installing the zend framework

  14. devendra says:

    I have my wamp install and I have set system variables path as given below. when i am trying to run zf command then its now working. many times i have restarted my pc and i have also tried to access from C:\Program Files\ZendCli\bin also but its not working. somebody guide me PLS

    C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\MySQL\MySQL Server 5.1\bin;C:\Program Files (x86)\Java\jdk1.7.0\bin;C:\javaWork\apache-maven-3.0.4\bin;C:\Program Files (x86)\ZendCli\bin

  15. Dinesh Kumar says:

    Hi , i am having internal server error when i browse the url( /public/).I have been trying to install the zend framework on my system for 2 weeks.please help me out with this.

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

  16. Dinesh Kumar says:

    It just worked fine following your brief tutorial.Thank you a lot. simple short and sweet

  17. vikas says:

    Thanks dada, for provide technical support about Zend frame work, I wish you learn more and help to grow junior as well as.

  18. mohsen says:

    tanx to your artical

  19. Deep says:

    it not working for me, i get error while running command. php path is set and its working all other paths are working. for zend command error is:- ‘zf’ is not recognized as an internal or external command,
    operable program or batch file.
    i hope i will get replay
    thanks by the way.

  20. Paras says:

    Thanks a lot. Very much helpful brother.

Leave a Reply

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

nike tn pas cher tn pas cher peuterey outlet piumini peuterey outlet spaccio peuterey outlet peuterey outlet piumini peuterey outlet spaccio peuterey outlet hogan outlet scarpe hogan outlet hogan outlet online peuterey outlet piumini peuterey outlet spaccio peuterey outlet hogan outlet scarpe hogan outlet hogan outlet online hogan outlet scarpe hogan outlet hogan outlet online doudoune moncler pas cher moncler pas cher doudoune moncler hogan outlet scarpe hogan outlet hogan outlet online nike tn pas cher tn pas cher