Configure Zend framework1.12 configuration steps under windows8.1:
1. Download Zend framework1.12 Library
2. Create Zend Framework Engineering
2.1 Manual Creation (trouble)
2.2 Using the Zf.bat program to create
(1) Php.exe is first configured globally by adding your Php.exe path to the environment variable path
; E:/wamp/php5
(2) DOS CD entry into the Zend Framework bin directory, i.e. the directory where Zf.bat resides
(3) using the command zf.bat the full path of the create project item
Zf.bat Create Project E:/wamp/apache/htdocs/zf
(4) Introducing the Zend Framework library into the ZF project, that is, copying the Zend folder to the generated libary directory
(5) Open the Extension=php_pdo_mysql.dll in the php.ini file, i.e. remove the semicolon
(6) Open Apache rewrite module, modify Apache configuration file httpd.conf,
Enable the rewrite feature, i.e. remove the # number
LoadModule rewrite_modulemodules/mod_rewrite.so
Total three places
allowoverride None Change to allowoverride all
(7) Configuring the virtual host
Add in httpd-vhosts.conf
<virtualhost *:80>
ServerAdmin [email protected]
DocumentRoot "E:/wamp/apache/htdocs/zf/public"
ServerName www.hunhun.com
Errorlog "Logs/dummy-host2.www.hunhun.com-error.log"
Customlog "Logs/dummy-host2.www.hunhun.com-access.log" common
</VirtualHost>
Add DNS to the Hosts file, i.e. add
127.0.0.1 www.hunhun.com
(8) Restart Apache, enter http://www.hunhun.com/index.php in the browser to see the Welcome page, the configuration is successful!
Configure Zend framework1.12 under windows8.1