installing zend framework on wamp
Following steps show how to setup zend framework with wamp server.
Your php version should be greater than 5.2.x
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.21/conf).
Uncomment it (remove # from head of the line)
Download Zend framework from : http://framework.zend.com/downloads/latest/
I have downloaded Zend Framework 1.12.3 Full.
Extract all files from zip/tar file to your local directory
make a folder in you php directory (C:\wamp\bin\php\ZendFramework) and paste all you zend framework files here
Add two system variables in your system path
- Right click on my computer
- go to properties
- Go to advance system settings on left pane
- Open advance tab
- go to Environment variables
- locate Path System variable, edit this variabe
- this step will add Zend tool to locate zf.bat and zf.php to create projects by zend tool
open you command prompt and type :
C:\Users\mark>zf show version
Zend Framework Version: 1.12.3
if above output shows on your screen then zend tool is configured successfully
Now type following command on command prompt by going into your wamp folder:
zf create project helloworld
if the above command is executed it will create the following structure in your project wamp directory :
Step 9 :
Last step is to copy library/zend/ directory from zend folder to helloworld/library folder. Navigate to the http://localhost/helloworld/public/ by you browser and welcome page will be shown.