Ec (2); installation (Windows platform) & nbsp; * install the PHP environment. ZendFramework (ZF) must be PHP5.1.4 + to run properly. Skip this step if you have already installed the PHP environment. In Windows, we recommend that you use WAMP as the development environment. All the way to next, WAMP will install Apache, PHP5, MySQL5, phpMyAdmin and so on. (Reminder: script ec (2); script
Installation (Windows)
* Install the PHP environment. Zend Framework (ZF) requires PHP 5.1.4 + to run properly. Skip this step if you have already installed the PHP environment. In Windows, we recommend that you use WAMP as the development environment. All the way to next, WAMP will install Apache, PHP5, MySQL5, phpMyAdmin and so on. (Reminder: the default password of the mysql user root is blank after the installation ). Click the WAMP icon to enable rewrite_module under ApacheModules. If you want to use Zend_Db to take Mysql as an example, you have to enable PHP Setting->; php_pdo and php_pdo_mysql extensions under PHPExtensions.
* Install TortoiseSVN. TortoiseSVN is the client of svn under win. TortoiseSVN is installed to obtain the latest ZF source code. If you use the zf Source Code released regularly by zend, skip this step.
* Obtain the ZF source code. If TortoiseSVN is used, create a folder (such as ZF) somewhere on your disk, right-click the folder, select SVNcheckout, and enter export in the address bar. You can also download the source code at http://framework.zend.com/download. But in general, it is still convenient to use SVN.
* Add a path for ZF. Edit php. ini (wamp's php. ini is in the apache/bin directory) and edit the include_path field (for example, export de_path = "..; G: Your ZF path library ").
* Configure the ZF project. We recommend that you use Haohappy at http://www.111cn.net/bbs/thread-5730-1-4.html.
* Start the journey. We recommend that new users of xgwork in the Forum study Zend Framework serialization (because the path has been added to ZF in the previous step, the set_include_path in this tutorial can be omitted ), there are also IBM's understanding of Zend Framework series.
Apache configuration:
Edit the httpd. conf file
Find
# LoadModule rewrite_module modules/mod_rewrite.so and remove "#" from the previous line.
Finally, find
AllowOverride None
Changed:
AllowOverride All to make the/htaccess file take effect
Apache configuration has been completed.