Introduction
This article explains how to create a project using the Zend framework in PHP. The Zend framework is an open source PHP framework When you want to use this framework you are required to use a Zend setup or package and now you will download this setup from zendframework.com. Then extract this package and put it into your working directory www folder.
Your download link for Zend setup:
Your downloaded folder structure look like this:
Setup it and put it in your working directory.
And now start your Wamp server and open your "http.conf" file and search for the "mod_rewrite.so" setting and enable it.
Before:
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
And after:
#LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
After this, copy your bin directory path and setup path into an environmental variable.
And open environmental variable:
And edit the path; terminate the old path with a semicolon and paste in your copy of the bin directory path.
Now, restart your Wamp server and open your cmd command prompt.
And type "zf" and press Enter as in the following:
And the next step is to type the command "cd\" and create the project as in the following:
And finally your project has been created in your www directory named "myzend".