A Blog IS About Education and It related Knowledge....

Sunday, 6 September 2015

How to Install WordPress Locally for PC/Windows with XAMPP

09:19:00 Posted by Unknown No comments
 First Here install XAMPP on your windows 

A new browser window will automatically open with the phpMyAdmin interface.

XAMPP phpMyAdmin
Click “Admin” to set up MySQL or go to “localhost/phpmyadmin” in your browser.

Click on “Databases” near the top-left and you’ll be prompted to create a new database. I’ve called mine “WP”. When you’ve entered a name, click “Create” and close the window.

XAMPP MySQL database


Download and Install WordPress

Download the latest version of WordPress.
In order to get WordPress working with XAMPP we need to unzip WordPress to the right folder. Go to the XAMPP folder on your computer and open the htdocs folder, i.e. C:/Program Files/XAMPP/htdocs.

XAMPP folder
Go to XAMPP/htdocs folder on your computer and unzip WordPress there.

Unzip WordPress into its own folder and rename it whatever you like. For consistency, I’m going to call this installation of WordPress “WP” to match the name of the database I just created.

Install WordPress
My installation of WordPress is called “WP.”

Open your WordPress folder, find the wp-config-sample.php file and rename it wp-config.php. Open the file and scroll down until you see the following lines:

wp-config database details
Update your wp-config.php file with your database details.

These lines of code define the login details for your database. Replace“database_name_here” with the name of your database, which in my case is “WP.”
Replace “username_here” with “root” and leave “password_here” blank.
Save the file and close it.
Now we can get on with installing WordPress.
Open your browser and go to http://localhost/wp/
You should see the welcome screen for the famous five minute WordPress installation process.

Famous five minute install
Set up WordPress using the famous five minute install process.

Enter your details and click “Install WordPress.”
Your WordPress installation is now complete!

Do you use XAMPP? Tell us in the comments below.

0 comments:

Post a Comment