How to Install Wordpress on XAMPP
Posted by Unknown on 7:11 PM with No comments
The goal of this guide is to show web designers how to install Wordpress [1]
(2.8 or above) locally on their computers for the purpose of designing
and testing Wordpress themes. Wordpress requires that the computer you
are installing to has a web server (such as Apache, Litespeed, or IIS),
PHP 4.3 or greater, and MySQL 4.0 or greater.
XAMPP [2] is an easy to install web server environment, which has all the previously mentioned components. All of the following instructions are based on the assumption that you have a XAMPP installation running locally on your machine. This tutorial does not discuss the installation of XAMPP. For more information about XAMPP, go to the official XAMPP (http://www.apachefriends.org/en/xampp.html) web site.
XAMPP [2] is an easy to install web server environment, which has all the previously mentioned components. All of the following instructions are based on the assumption that you have a XAMPP installation running locally on your machine. This tutorial does not discuss the installation of XAMPP. For more information about XAMPP, go to the official XAMPP (http://www.apachefriends.org/en/xampp.html) web site.
Steps
-
1Download and save the latest version of Wordpress from the following link:
http://wordpress.org/latest.zip -
2Extract the contents of the ZIP file called "wordpress.zip", which was downloaded in step 1, to the htdocs folder within the XAMPP directory.If ZIP file extracted properly there should be a new directory called "wordpress" within the \xampp\htdocs directory. Before the process can move forward, please ensure that the web server environment is running properly.
-
3Go to the XAMPP main page by opening a web browser and entering the following URL:
http://localhost/xampp/ . -
4Select the link called "phpMyAdmin" on the lower left side of the menu or by entering the following URL:
http://localhost/xampp/phpmyadmin . -
5At the phpMyAdmin main page, there will be an area in the middle of the screen called "MySQL localhost". From this section a new database will be created for use by the Wordpress installation.
- In the field labeled "Create new database" enter the name "wordpress". From the dropdown labeled "Collation" select "utf8_unicode_ci". Then press the button labeled "Create".
- If the database entry was created successfully the message "Database wordpress has been created" should be displayed.
-
6Using the Windows Explorer navigate to the xampp\htdocs\wordpress directory. Open the file called "wp-config-sample.php" within the wordpress directory.
-
7Once the file has been opened edit the following lines: /** The name of the database for WordPress */ define('DB_NAME', 'putyourdbnamehere'); ==> change 'putyourdbnameheree' to 'wordpress' /** MySQL database username */ define('DB_USER', 'usernamehere'); ==> change 'usernamehere' to 'root' /** MySQL database password */ define('DB_PASSWORD', 'yourpasswordhere'); ==> change 'yourpasswordhere' to ' ' (leave it blank)
-
8When the file has been edited as described in the previous step, save a copy of the file as "wp-config.php" in the wordpress directory and close the file.
-
9Go to the Wordpress Installation page by opening a web browser and entering the following URL:
http://localhost/wordpress/wp-admin/install.php . -
10Enter a title for the blog in the field labeled "Blog Title". Enter an email address in the field labeled "Your E-mail". Then press the button labeled "Install Wordpress".
-
11If the information in the previous step was entered correctly there should be a new screen titled "Success!". This screen presents a username called "admin" and a temporary password. It is a randomly generated password so it is important to make note of it until a new password has been selected. Press the button labeled "Log In".
-
12At the Log In screen type the word "Admin" in the field labeled "Username" and type the temporary password, which was created in the previous step, in the field labeled "Password". Press the button labeled "Log In".
-
13If the log in was successful then the Wordpress Dashboard appears. There is a notice which states that an auto-generated password is being used and to change it to something easier to remember. The link labeled "Yes. Take me to my profile page" allows the temporary password to be changed. Once the password has been changed editing of the content and themes can begin.
0 comments:
Post a Comment