First Here install XAMPP on your windows
A new browser window will automatically open with the phpMyAdmin interface.
A new browser window will automatically open with the phpMyAdmin interface.
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.
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.
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.
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:
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.
Enter your details and click “Install WordPress.”
Your WordPress installation is now complete!
0 comments:
Post a Comment