How To Install Wordpress In Xampp || Wordpress Tutorial In Hindi Part-1
How to Install XAMPP and WordPress Locally on PC/Windows:
Installing WordPress on your computer helps you try out WordPress, test themes/plugins, and learn WordPress development. In this article, we will show you how to create a local WordPress site Using XAMPP.Important: the Local website will only be visible to you on your computer. If you want to build a live WordPress site, then you will need a domain name.
XAMPP:
Setting up XAMPP on your Windows machine is by far no easy feat, let me tell you! But once it’s installed, it’s a breeze to run and will save you a bunch of time if you need to run WordPress locally. In fact, you’ll forget it’s even there.
In order to create a local WordPress site, you will need to set up a web server software (Apache), PHP, and MySQL on your computer.
PHP is a programming language and MySQL is a database management software. Both of them are required to run WordPress.
Installing each of this software separately is quite difficult for beginners. This is where XAMPP comes in.
XAMPP makes it easy for you to build WordPress websites locally. It is available for Windows, Mac, and Linux based computers.
NOTE: The great thing about running a localhost install is that your test site will run much more quickly than it otherwise would online, but if you want to ensure it continues to run at optimal speed, be sure to install and activate Hummingbird on your install.
Installing XAMPP on Your Computer:
Go to the Apache Friends website and download XAMPP.
Depending on your operating system, your installation wizard and the application interface may differ from the screenshots here.
After downloading XAMPP, you will need to click and run the installer.
In the next window, you will be asked to select which components of the software you would like to install and which ones you don’t want. Some options, such as Apache and PHP are essential to running the software and will at automatically installed, so they are grayed out so you can’t select them.
It’s up to you which components you want to install. Since we want to run WordPress in our localhost environment, leave MySQL and phpMyAdmin checked and uncheck the remaining options.
Once installed, you’ll be asked whether you would like to start the XAMPP Control Panel, which provides an interface for running your localhost environment. Leave this option ticked and click Finish.
This will launch the XAMPP control panel. Go ahead and click on the start button next to Apache and MySQL.
XAMPP will now start Apache and MySQL. You may see a Windows Firewall notification, it is important that you click on ‘Allow Access’ button for both applications to run on your computer.
Setting Up Your MySQL Database:
Before we install WordPress, we need a database.In your XAMPP Control Panel, click the Admin button in the MySQL section.
A new browser window will automatically open with the phpMyAdmin interface.
You would need to click on Databases, provide a name for your new database, and then click on the create button to continue.
Now that you have created a database, you can use it for your WordPress site.
Now Download and Install WordPress:
Download the latest version of WordPress.
In order to get WordPress working with XAMPP, we need to unzip WordPress in the right folder. Go to the XAMPP folder on your computer and open the htdocs folder –C:/Program Files/XAMPP/htdocs.
Unzip WordPress into its own folder and rename it whatever you like.
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 “DK”
- Replace “username_here” with “root” and leave “password_here” blank
- Save the file and close it.
You should see the translation screen that comes before the famous five minute WordPress installation process.
■Once you’ve chosen your language, continue onto the next screen and enter your username and password details. Click Install WordPress.
Your WordPress installation is now complete!
____________________________________________________________________
No comments