Hi, I am Vijay. I am also new to Zend framework and learning it day by day. I have read and seen many articles and videos regarding Zend framework installation on windows. Here I am sharing some knowledge how to complete install zend framework on your xampp on windoes. I hope this will help a lot for Beginners to install and configure Zend Framework in few steps:
2. Install xampp on any drive. I have installed it in (G:/) you can install this in any drive you want.
3. Now extract the downloaded Zend framework set up we will see the following directries:
4. Now we have to configure and place the Zend framework directories on particular places so that it can work properly.
5. Now copy the Zendframework set up folder and place it to:
Note: zf.bat and zf.php of may be different versions so to avoid this, use latest version. otherwise it will not allow some Zend command line tool to work properly.
Note: The zend folder present in the “xampp\php\PEAR” may be of older version which will not match with the Zendframework version so to avoid the problems in future, use the fresh “Zend” directory from the setup.
8. Now open the php.ini set include_path to :
To build a zendframework full project(no a quickstatr package) we have to use command line tool and with the zend command we will create the project:
b. The zend project has been created. you can see the project in your “xampp/htdocs/zendtest”
c. See the first view of your zend framework project:
open any web browser go to the path where “zendtest” is located” (http://localhost/zendtest)
Click on the public:
Ten steps to install Zendframework on xampp server.
1. Download Zend Framework complete pakage (zend.com) and xampp server.2. Install xampp on any drive. I have installed it in (G:/) you can install this in any drive you want.
3. Now extract the downloaded Zend framework set up we will see the following directries:
4. Now we have to configure and place the Zend framework directories on particular places so that it can work properly.
5. Now copy the Zendframework set up folder and place it to:
G:\xampp\php\ZendFramework
6. Now replace the “zf.bat and zf.php” present in the “G:\xampp\php” with the new one from Zendframework setup:Note: zf.bat and zf.php of may be different versions so to avoid this, use latest version. otherwise it will not allow some Zend command line tool to work properly.
G:\xampp\php\ZendFramework\bin (containing the zf.bat and zf.php)
7. Check that folder “zend” should be present in “G:\xampp\php\PEAR” and replace it with the new “zend” folder present in the Zendframework set up.Note: The zend folder present in the “xampp\php\PEAR” may be of older version which will not match with the Zendframework version so to avoid the problems in future, use the fresh “Zend” directory from the setup.
8. Now open the php.ini set include_path to :
;G:\xampp\php\ZendFramework\library;G:\xampp\php\ZendFramework\bin
9. Now set the ENVIRONMENT VARIAB1LE > “Path” in (advance system settings). Add this line to Path:;G:\xampp\php;G:\xampp\php\ZendFramework\library
10. The Installation is complete, now refresh the xampp setup.We have learned how to install zend framework. Now we will see how to set up the project
a. Build a projectTo build a zendframework full project(no a quickstatr package) we have to use command line tool and with the zend command we will create the project:
zf create project zendtest
b. The zend project has been created. you can see the project in your “xampp/htdocs/zendtest”
c. See the first view of your zend framework project:
open any web browser go to the path where “zendtest” is located” (http://localhost/zendtest)
Click on the public:
Thanks for sharing you saved my day. This Pretty imformation
ReplyDeletehow to set environment variables?????
Deletethanks .. but How about Mac os With xampp Install ... !?
ReplyDeleteThanks For Your Good Tutorial
ReplyDeleteThank you very much
ReplyDeletehello vijay,
ReplyDeletei have downloaded "ZendFramework-2.2.2" and i dont find any zf.bat and zf.php in "ZendFramework\bin\"
from where i can get it...
thank you
I don't find zf.bat and zf.php in version 2.2.4 of the framework either, did you ever get an answer?
ReplyDeleteThis tutorial is based on ZF 1 , not ZF 2
Deleteyour process is not working
ReplyDeletei download the zendframework2.2.5 ,but i didn't find the zf.bat and zf.php in zendframework setup
ReplyDeleteThis tutorial is based on ZF 1 , not ZF 2
ReplyDeletehow to set environment variables for zend framework... to use Zf
ReplyDelete