Using XAMPP to build wordpress locally

Source: Internet
Author: User

To go out, but still not put out the K2 0.9, or want to study it, although there is a notebook, but there is no wireless network AH. Think it over, or build a local WordPress bar, so even if there is no network, you can play WP at any time. The following is an example of a Windows XP system:

First of all, download the latest XAMPP lite (no need to use the full version, for WordPress, Lite version is enough. Official online provides two formats to download, the ZIP format is the installation version, EXE format is a self-extracting version, I chose here a much smaller exe, in fact, the content is the same.

Then is installed, first extracted to a directory, I directly installed to the D-packing directory. After decompression, a Xampplite folder is created under D disk.

Enter the folder, execute the batch file named "Setup_xampp" (suffix. bat), and press any key to close the window after success.

Execute "Xampp-control.exe", click on the Apache and MySQL after the start, see the following status that indicates success.

Open a browser, such as Firefox, in the address bar input "http://localhost/xampp/splash.php" after the return, select the final "Chinese", you can enter the XAMPP welcome page. After that, just enter "http://localhost" in the address bar to return to this page.

Next to build a database: Click on the Welcome page in the left column tool under the "phpMyAdmin", create a new database called WordPress, set the following figure:

Download Wordpress2.0.4 and unzip. Use Notepad and other editing programs to open "wp-config-sample.php", the settings made as follows, and then save as "wp-config.php".

Next copy the entire WordPress folder to the installation directory under the "Htdocs" folder, in my case is in the "D:xampplitehtdocs", the completed file tree is as follows:

The final step is in the browser input "http://localhost/wordpress/wp-admin/install.php" and then enter the car, how, is not very familiar with the screen?

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.