WINDOWS + WAMP + Zend Framework configuration steps

Source: Internet
Author: User
Tags register php zend framework

Zend Framework configuration in windows wamp Environment

1. Install WampServer

Download and install WAMPSERVER. In this example, install WAMPSERVER under C: \ wamp.

2. Install Zend Framework

Decompress \ library \ to C: \ wamp \ library in the Zend Framework compressed package (there is no library directory here, you must create one by yourself)

3. Enable rewrite module

Edit httpd. conf.

-Edit the C: \ wamp \ bin \ apache \ Apache2.2.10 \ conf \ httpd. conf file. Or

-Right-click the WampServer icon in the tray --> Apache --> httpd. conf

# LoadModule rewrite_module modules/mod_rewrite.so

Remove '#' and change it:

LoadModule rewrite_module modules/mod_rewrite.so

4. PHP library settings

-Edit C: \ wamp \ bin \ php \ php5.2.7 \ php. ini, or

-Right-click the WampServer icon in the tray --> PHP --> php. ini

; Windows: "\ path1; \ path2"

; Include_path = ".; c: \ php \ shortdes"

Remove ';' and add the Zend Framework package installation path:

Windows: "\ path1; \ path2" (the semicolon is not removed here)

Include_path = ".; c: \ php \ shortdes; c: \ wamp \ library ;"

5. Create a quickstart Project

In the Windows Start Menu, click Run and enter "CMD" to open the DOS command window,

Run the command: "set path = % path %; C: \ wamp \ bin \ php \ php5.2.9-2;" register php.exe path

Run the command "cd C: \ wamp \ www" to switch the current path to the www path of the WAMP website document.

Run the command: "ZendStudio \ ZendFramework-1.8.1 \ bin \ zf. bat create project quickstart

Change the zf. bat path to your own path. Then, zf. bat will create a quickstart project: "Creating project at C:/wamp/www/quickstart"

6. Test the sample project

Open your browser and browse "http: // localhost/quickstart/public/". You can see "Welcome to the Zend Framework! . (If not, restart wmap)

Related Article

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.