Configure Zend framework1.12 under windows8.1

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.