WINDOWS + WAMP + Zend Framework configuration step sharing _win Server

Source: Internet
Author: User
Tags zend zend framework
Zend Framework Configuration under WINDOWS wamp environment

1, install Wampserver

Download Wampserver and install, in this case, install under C:\wamp.

2 Installing the Zend Framework

Decompression Zend Framework Compression package \library\ to C:\wamp\library (there is no library directory, to build a own)

3 Open Support rewrite module

Edit httpd.conf.

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

-Right-click on the Tray wampserver small icon--> Apache--> httpd.conf

# LoadModule Rewrite_module modules/mod_rewrite.so

Remove ' # ', instead:

LoadModule Rewrite_module modules/mod_rewrite.so

4 PHP Library Settings

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

-Right-click on the Tray wampserver small icon--> PHP--> php.ini

; Windows: "\path1;\path2"

; include_path = ".; C:\php\includes "

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

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

include_path = ".; C:\php\includes;c:\wamp\library; "

5. Production QuickStart Project

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

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

Run command: "CD C:\wamp\www", switch current path to WAMP Web site document www path

Run the command: Zendstudio\zendframework-1.8.1\bin\zf.bat Create Project QuickStart

Note that the Zf.bat path is replaced with your own path, and Zf.bat build the QuickStart project: "Creating Project at C:/wamp/www/quickstart"

6. Test Sample Project

Open the browser, browse "http://localhost/quickstart/public/", you can see "Welcome to the Zend framework!" of the page. (Please reboot WMAP if not shown)
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.