Tuesday, November 17, 2009

Easy steps to setup zend framework in windows

This is the simple steps to setup the zend framework for those who using Windows and Xampp.

1. Download the framework from http://framework.zend.com/.
2. Edit the php.ini. ( it is find in php folder in th
xampp installation) to set up the include_path for frame work.
like this :
Windows: "\path1;\path2"
include_path = ".;C:\xampp\php\pe
( I have copied the ZendFramework in C:\xampp\p

3. Set up the environment variable “path” to point php folder.

4. Restart the the machine.

Now your zendframework is configured to system.

5. Create the project folder inside the htdocs folder using the command prompt.

Like this:
C:\xampp\htdocs> C:\xampp\php\ZendFramework\bin\zf.bat create project myblog

The above command will create a zendframework project directory structure in C:\xampp\htdocs