Installation article (Windows platform)
* Install the PHP environment. The Zend Framework (ZF below) requires PHP 5.1.4+ to function properly. If you have installed the PHP environment, skip this step. Under Win, I recommend using WAMP as the development environment. As long as all the way Next,wamp Apache, PHP5, MySQL5, phpMyAdmin and so on are all installed. (Reminder: The MySQL user root default password is empty after loading). Click on the Wamp icon to open Rewrite_module under Apachemodules. If you want to use zend_db for example MySQL, you have to open PHP setting->; Php_pdo and Php_pdo_mysql extensions under Phpextensions.
* Install TORTOISESVN. TORTOISESVN is the client of SVN under win. The purpose of installing TORTOISESVN is to get the latest ZF source code, which you can skip if you use Zend's regularly released ZF source code.
* Obtain ZF Source code. If you use TORTOISESVN, create a folder (such as ZF) somewhere on your disk, right-click on the folder, select Svncheckout, and type in the address bar http://framework.zend.com/svn/framework/ Trunk, click OK, TORTOISESVN began to work to obtain ZF's source code. You can also download the source code http://framework.zend.com/download. But always, it's easy to use SVN.
* Add a path for ZF. Edit php.ini (wamp php.ini in Apache/bin directory), Edit include_path field (for example include_path = ".; G: Your ZF Path library ").
* Configure the ZF project. The method of using Haohappy is recommended http://www.111cn.net/bbs/thread-5730-1-4.html.
* Start the journey. The Xgwork Novice in the recommended forum learns Zend framework serialization (because the path has been added to ZF in the previous step, so set_include_path can be omitted from the tutorial), and IBM's understanding Zend Framework series.
Apache Configuration:
Edit httpd.conf File
Found it
#LoadModule Rewrite_module modules/mod_rewrite.so This line and remove the "#" in front of you.
Finally found
AllowOverride None
Change to:
AllowOverride all to make the/htaccess file work
To this Apache configuration is complete