Welcome back it is the tutorial 2, here we will learn how can we make Database and installing of wordpress…..
Now that you have installed XAMPP let’s see how to install WordPress. First of all, you have to create a database to install WordPress. To do that, get back to the XAMPP control panel. Click on the ‘Admin’ link of the MySQL section. This will take you to the phpMyAdmin page.
You can also get to this page by entering the following URL into your browser –
There is a menu on top of the page. Click the ‘Databases’ link. This will bring a page like the following –
Right under the big ‘Databases’ title, you will find a section titled ‘Create database’. Provide the database name (as we have given fim) and click ‘Create’. This will create the database for you. Note down the database name, we will need it for installing WordPress.
1. Installing WordPress on XAMPP
Now, to install WordPress on XAMPP, Download the latest version of WordPress from the official site. Extract the zipped archive to your desktop. Open the folder where you have installed XAMPP. Locate the folder titled ‘htdocs’. Copy the extracted WordPress folder into the htdocs folder. If you haven’t changed the default installation settings, the htdocs folder should be located at the following address –C:/Program Files/XAMPP/htdocs
2. Editing wp-config.php
One of the most important files in your WordPress installation is the wp-config.php file. This file is located in the root of your WordPress file directory and contains your website’s base configuration details, such as database connection information. When you first download WordPress, the wp-config.php file isn’t included. The WordPress setup process will create a wp-config.php file for you based on the information you provide. You can manually create a wp-config.php file by locating the sample file named “wp-config-sample.php” (located in the root install-directory), editing it as required, and then saving it as wp-config.php
To change the wp-config.php file for your installation, you will need this information:
Database Name used by WordPress
Username used to access Database
Password used by Username to access Database
Open the file with notepad and edit the wp-config.php data as per the image. Save the file and wp-config.php.
Next step is to browse this URL- http://localhost/fim in your browser for initializing the actual installation of WordPress.
Select language on the screen and continue. Fill in the website information-
Fill up the required fields, and press “Install WordPress”.
That’s it. You have installed WordPress
In the next post we will learn about WordPress login and WordPress Dashboard so stay tuned with us….. If you enjoyed this post, I’d be very grateful if you’d help it spread by emailing it to a friend, or sharing it on Twitter or Facebook. Thank you!