Use AMPServ to configure the PHP environment and install WordPress

Source: Internet
Author: User
I have been thinking about installing Wordpress for a long time. Recently, I was asked how to install Wordpress, so I decided to write a topic about installing and testing Wordpress on my machine from the beginning. After reading this topic, you can start playing Wordpress on your computer within 30 minutes and provide services to other users on the Internet (if possible :)). Directory: I have been thinking about installing Wordpress for a long time. Recently, I was asked how to install Wordpress. so I decided to write a topic about installing and testing Wordpress on my machine from the beginning. After reading this topic, you can start playing Wordpress on your computer within 30 minutes and provide services to other users on the Internet (if possible :)).
Directory:
1. configure the server;
2. debug the server;
3. install Wordpress;
1. configure the server. (If you use a virtual space such as Dreamhost, Dreamhost is ready for you)
We recommend that you use Linux (server) + Apache (Web service) + MySQL (database) + PHP (programming language) (LAMP) for WordPress ). However, in general, most users test Windows XP on the local machine. here we will explain Windows XP (in fact, Windows series are similar ).
What Web service software should I install first? is it Apache or IIS that comes with Windows? There is no doubt that Apache is more suitable for PHP and MySQL and PHP. It may be difficult to install them one by one. for new users, configuring them is terrible. Fortunately, people planted trees and people came to the cold. on the Internet, we provided packaged software with Apache + PHP + MySQL. among them, AMPServ made in China and XAMPP made in foreign countries were well known, they provide the ability to quickly build websites. once you enable them, your computer will immediately become a server that provides Web services, and Wordpress will be ready to be installed immediately!

AMPServ interface

XAMPP interface
Relatively speaking, XAMPP is more friendly. please try XAMPP first :).
Step 1, download the XAMPP installation package; http://www.apachefriends.org/zh_cn/xampp-windows.html#1787 find the version you need, such as http://www.apachefriends.org/download.php? The xampp-win32-1.6.6-installer.exe is suitable for WinXP versions.
Step 2: download and run it:

Because there is no Chinese version of the background program (but the management and help interfaces all have Chinese versions), let's select English. All the way to NEXT; the default configuration is good.
Step 3: will it take 2 minutes for the installation to complete? Well. Then open the program.
2. debug the server. now you can see

Set the Start point after Apache and Mysql to Start providing services! (FileZilla provides the FTP service and cannot be used for the time being.) after you click START, "Running" appears, indicating that it is Running properly!
Please open your browser and enter http: // localhost or http: // 127.0.0.1 (indicating the default address of your local computer) in the address bar:

If yes, it indicates that the server you configured has been successfully configured. it is already a website!
3. install Wordpress;
Now, open http: // localhost/ PhpmyadminThis is the Web control address of MySQL:

Create a new database at the new database to install Wordpress. The name is wordpress, and the character set is sorted. you can select utf8_general_ci.
After creation

Put it there for now.
Next, download the Wordpress program. You can download the WordPress version with a Chinese package provided by WordPress.org.cn or the official English version. Decompress the package.

Place the entire wordpress folder in C: \ xampp \ htdocs, and C: \ xampp \ is your installation directory. Then access http: // localhost/wordpress;

This indicates that you have not created a configuration file. click "create ..." Click "let's go" below;

The Database Name is the Database Name. enter the empty Database you just created, such as wordpress. the User Name is the Database login Name. we have just finished XAMPP and have not set it yet. the default value is root, the default password is null, and the Database Host is the Database Host address. we test it locally, that is, localhost, and Table Prefix is the data Prefix. if a Database contains multiple WP, use a different prefix.
If the configuration is successful, the following error occurs:

What are you waiting? Click "run the install! (If this is not the case, it may be that your input is incorrect. please make sure that each item is entered correctly. the password for the root user name is blank. please delete the space! )
Next:

Enter your blog name and email address. you will get a default username admin with a random 6-character password. Remember the password and then log on.
After logging in, you can see Users-> Your username click Edit-> the password change input box! Or you can create a new user name and password that you want.
OK. This tutorial ends now. After installing WP, if you do not perform any tests, remember to STOP all your XAMPP services to avoid occupying resources and initiating hacker attacks .. If you have any questions, please reply and point out: Thank you for your advice!

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.