Build your own Web server (WAMP) _win server under win2008

Source: Internet
Author: User
Tags php and zend open source cms

This time I need to record the process of building my web server.

Cloud-dwelling Community small note: Because the picture format problem, if the picture can not be displayed, please use the Chrome browser to browse.

The first step is to identify the platform you want to use: This time I'm using the windows2008 server version

The second step, the plan is to install the pure manual Apache, PHP and so on. But we can download a wamp integrated version (ie, under the Windows system Apache, MySQL, PHP).

The installation Wamp process is as follows: (similar to the default installation, but be aware of your own installation)

After the installation is complete, create shortcuts on the desktop and status bar, respectively.

Note: The first time I run, the error , checked and found that can not open the reason, most likely is the need to install.

After the program installation is completed correctly, this version of the icon is displayed, when the display of white when the whole service began to run, if it is red, indicating off-line, yellow indicates that a service is not normal. Configuration changes are required.

Click the icon to see the configuration directory:;

Apache configuration file:;

PHP configuration file:;

Wamp installation path and the Apache, PHP, MySQL path:;

At this point, the basic knowledge of wamp can be done, the next step, that is, the operation of the Web page.

There is a directory named www in the Wamp directory:

I want to build a simple site for testing, you can use your own web site, you can also download the open source of the CMS to use, here I used to weave a dream template (ie dede);

After decompression, there are two documents, one is doc, the other is uploads, will uploads file all copies to the previous Web page file of the WWW directory, after 127.0.0.1/ Index.php, on the successful entry to the Web site installation interface, a fool-like way of use, a look at the understanding.

Need to be aware of is in the step-by-step to build dream this site template when it needs the permissions and plug-in support you are not installed, and then you can set the domain name according to their own preferences and so on.

Also, here is the need for MySQL, that is, you need to build a database, of course, have a note is wamp in the MySQL default root account database password is empty.

Database:

Small episode:

Before using another open source CMS, the relevant files to the WWW directory found that the hint did not install Zend Optimizer to resolve, so the page shows all garbled.

Here need to pay attention to, is Zend Optimizer support is PHP lower version, Wamp integrated version of PHP version at least more than 5.3, so garbled, after php5.3, appears Zend loader to resolve, So pay special attention to this point.

Install the Zend Loader, it's just a DLL file, put it in this directory, then check Zend Loader in the Wamp software, and add a few words to the apache.conf configuration file.

Restart all services.

At this point, ok I thought it was done, but do not recognize, or garbled, so decisively give up this version of the CMS. Use Dede's latest version of the template, decisive success! The episode ends!!

Let's move on, and here's what we're going to say about Apache configuration,

First, the path to the Web site is one line in the open apache.conf.

Second, the default Apache configuration is to allow only 127.0.0.1 access, so we want to change the settings to allow others to access it. As shown in figure:

Similar to the configuration shown below, we can change to allow from all

To this end, our configuration is basically over, normal, your site can be used for testing use, of course, the site to build up your own upload something that is your own to do, do not elaborate on what.

Remember that after the configuration of the end of the restart, will not take effect!

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.