XAMPP and the Zend Framework are both free to download and use. XAMPP comes with the apache web server, php, phpmyadmin, perl, filezilla, mercury mail, and mysql. Zend Framework provides MVC code generators and it is fairly easy to setup with XAMPP. This post will give you instructions on how to install Zend Framework to windows.
Follow the Installation Instructions for your Windows version.
Extract to C:\xampp All of your future website files will be saved at C:\xampp\htdocs. If you save the file “test.php” in the htdocs directory, you can access it with your webbrowser at “http://localhost/test.php” even while you have no Internet connection available.
Add php to your windows system variables: Right Click on ‘My Computer’ > Properties > Advanced Tab > Environment Variables. Environment Variables box will open, View SYSTEM VARIABLES, scroll the list to ’ PATH ‘ > double click ’ PATH ‘ . Click for ScreenShot. Add the following line to the end of the PATH ;C:\xampp\php\php.exe
1.We have to Download the Zend framework full package from http://framework.zend.com/
2.Extract the Zend Framework files to C:\xampp\php\ZendFramework.
3.Edit the php.ini file. You will find it at C:\xampp\php\php.ini. Find the line that says ’ include_path ’ and edit the line: Windows: “\path1;\path2″
include_path = “.;C:\xampp\php\ZendFramework\library”
4.In the C:\xampp\php\ ZendFramework\bin folder you will see a batch file that is used to create the MVC ( model, view, controller ) project structure for you.
5.Create a project inside your C:\xampp\htdocs folder, because apache is setup to serve your files from that directory.
6.Open a shell and cd to C:\xampp\htdocs folder and type this:
C:\xampp\htdocs>C:\xampp\php\ZendFramework\bin\zf.bat create project Zendproject
7.If your shell does not scream any error messages with instructions to you, you can refresh your view of your directory at C:\xampp\htdocs and you will see that new directories have been setup at C:\xampp\htdocs\Zendproject. The new directories in your testproject folder will include >application >library >public >tests and the file .zfprojects.xml