How to install Wordpress with XAMPP: 13 steps (with pictures)

How to install Wordpress with XAMPP: 13 steps (with pictures)
How to install Wordpress with XAMPP: 13 steps (with pictures)
Anonim

The objective of this guide is to show web developers how to install Wordpress [1] (2.8 or newer) locally on their computer in order to be able to design and test Wordpress Themes. Wordpress needs the computer you are installing it on to have a web server (like Apache, Litespeed, or IIS), PHP 4.3 or higher, and MySQL 4.0 or higher.

XAMPP [2] is an easy to install web server environment, which has all of the above mentioned components. All of the following instructions are based on the assumption that you have an installation of XAMPP running locally on your machine. This tutorial does not detail the installation of XAMPP. For more information on XAMPP, see the official XAMPP website (http://www.apachefriends.org/en/xampp.html)

Steps

Install Wordpress on XAMPP Step 1

Step 1. Download and save the latest version of Wordpress by following this link:

wordpress.org/latest.zip.

Install Wordpress on XAMPP Step 2

Step 2. Unzip the ZIP file called "wordpress.zip", which was downloaded in step 1, into the htdocs folder in the XAMPP directory

If the ZIP file was extracted correctly there should be a new directory called "wordpress" inside the \ xampp \ htdocs directory. Before continuing with the installation, please check that the web server environment is working properly.

Install Wordpress on XAMPP Step 3

Step 3. Go to the main page of XAMPP by opening a browser and entering the following address:

localhost / xampp /.

Install Wordpress on XAMPP Step 4

Step 4. Select the link called "phpMyAdmin" at the bottom left of the menu or enter the following address:

localhost / xampp / phpmyadmin.

Install Wordpress on XAMPP Step 5

Step 5. In the main page of phpMyAdmin, there will be an area in the middle of the screen called "MySQL localhost"

From this section a new database will be created to be used with the installation of Wordpress.

  • In the field labeled "Create New Database", enter the name "Wordpress". From the drop-down menu labeled "Collation" select "utf8_unicode_ci". Then press the "Create" button.
  • If the database has been created successfully, the message "The wordpress database has been created" should be displayed.
Install Wordpress on XAMPP Step 6

Step 6. Using Windows Explorer navigate to the xampp \ htdocs \ wordpress directory

Open the file called "" wp-config-sample.php "inside the wordpress directory.

Install Wordpress on XAMPP Step 7

Step 7. Once the file has been opened edit the following lines:

/ ** The name of your 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 blank).

Install Wordpress on XAMPP Step 8

Step 8. When the file has been modified as indicated in the previous step, save a copy of this file under the name "wp-config.php" in the wordpress directory and close the file

Install Wordpress on XAMPP Step 9

Step 9. Go to the Wordpress installation page by opening a web browser and entering the following address:

localhost/wordpress/wp-admin/install.php.

Install Wordpress on XAMPP Step 10

Step 10. Enter a title for the blog in the field labeled "Site Title"

Enter an email address in the field labeled "Your email address". Then press the button called "Install Wordpress".

Install Wordpress on XAMPP Step 11

Step 11. If the information for the next step has been entered correctly there should be a new screen called "What a success

This screen shows a user called "admin" and a temporary password. This is a randomly generated password, so it is important to write it down until a new password is selected. Press the button labeled “Connect”.

Install Wordpress on XAMPP Step 12

Step 12. On the login screen, type the word “Admin” in the field labeled “Login” and enter your temporary password, the one created in the previous step, in the field labeled “Password "

Press the button labeled "Connect".

Install Wordpress on XAMPP Step 13

Step 13. If the connection was successful, the Wordpress administration interface will appear

A message is displayed to inform that an automatically generated password is in use, and that it would be better to change it to one that is easier to remember. The "Yes, take me to my profile" link allows you to change the temporary password. Once the password has been changed, content and theme modification can begin.

Popular by topic