Installation and use of Wamp

Source: Internet
Author: User
Tags open source cms

This time I need to record the process of building a Web server.

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

In the second step, the plan is to install Apache, PHP, and so on purely manually. But we can download a Wamp integrated version (that is, Apache, MySQL, PHP) in the Windows system.

Install the WAMP process as follows: (similar to the default installation, but be aware of your own installation)

After you wait for the installation to complete, generate shortcuts in the desktop and status bar, respectively.

Note: The first time I run, error, after checking found that can not open the cause, most likely to need to install,.

After the program installation is done correctly, this version of the icon is displayed, when the display of white indicates that all services start to run, if it is red, is offline, yellow indicates that a service is not properly turned on. The configuration needs to be changed.

Click on the icon to see the configuration directory:;

Apache configuration file:;

PHP configuration file:;

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

At this point, the basic understanding of Wamp is ready, you can do the next step, that is, the operation of the Web page.

In the Wamp directory, there is a directory named www:

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

After decompression, there are two documents, one is doc, the other is uploads, the uploads files are all copied to the WWW directory before the page file, and then 127.0.0.1/ Index.php, on the successful entry to the Web page installation interface, the use of a fool-like method, a look at the understanding.

It is necessary to note that in a step-by-step weave dream of this site template when it needs permissions and plug-in support you are not all installed, and then you can set the domain name according to their hobbies and so on.

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

Database:

Small episode:

Before using another open source CMS, put the relevant files in the WWW directory after the discovery prompt does not install Zend Optimizer to parse, so the page display is garbled.

Here need to Note that Zend Optimizer support is the lower version of PHP, Wamp integrated version of PHP is at least 5.3, so garbled, after php5.3, there is Zend loader to parse, so pay special attention to this point.

Installed Zend Loader, is actually just a DLL file, put it in this directory, and then Wamp software over there tick Zend loader, and then add a few words in the apache.conf configuration file,

Restart all services.

At this point, ok I thought the fix, 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! Episode OVER!!

Let's go on, here's the Apache configuration,

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

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.

Similar to this configuration, we can change the

So far, our configuration is basically over, normal, your site can be used for testing, of course, the site to build up your own upload something that is you to take care of, do not elaborate on what.

Remember to restart the configuration after the end, it will take effect!

Http://www.cnblogs.com/stone-dan-dan/p/stone2.html

Wamp Installation and use (RPM)

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.