Before you make your website live on the server the best way is to install WordPress on the localhost (Windows/Mac OS). In this way, you have the opportunity to test and develop things for free. If you want to move the website to the live server then you have to buy hosting or domain.
If you want to install WordPress using Xampp then read this >> WordPress Installation using Xampp for Windows
If you want to install WordPress using Mamp on Mac then read this -> WordPress Installation using Mamp for Mac
WHAT IS WAMP?
Wamp stands for Windows Apache Mysql PHP
What is Apache?
Apache basically serves various functions like delivering the requested file when someone hits a URL in browser
It is open source and cross platform
It also handles multi processes
SSL, V3 and TLS suppport
.htaccess, http/ftp, URL rewriting, Bandwidth, IP Adresses are some of the major functions.
What is MYSQL?
MySql stands for My Structured Query Language.
It is responsible for Database operations.
There is a Student Database. They MySql can do following operations.
Delete, update and modify Tables.
SQL queries, Triggers, Functions and Cascading are some of most common used in MYSQL
What is PHP?
PHP stands for ‘Hypertext Preprocessor”.
It is an open-source and high-level language. language. Php runs on the backend server therefore we can say it is a server-side language.
This language is used specifically for Website Development.
Many popular Frameworks like Laravel and CodeIgniter is built on PHP.
It is very easy to learn and popular CMS like WordPress is also based on PHP.
Let us start installing WordPress on localhost.
Download following files for installation:
1- Download WordPress file from wordpress.org
2- Download Wamp
For Wamp you should download the type of operating system you are using. i.e. 64 BIT or 32 BIT
To check operating system type do below steps:
Go to Control Panel » System
If you have 64-Bit then download 64 bit WAMP otherwise you can download 32-BIT version
INSTALLATION OF WAMP
After installation open Wamp from start menu
after opening now click on Wamp icon in icon tray of your start bar
If you see this screen its mean your Wamp server is installed correctly!
Click Go to open database section
Create Database for WordPress
you can type any name. In my case I have typed ‘my_wp’ for database name.
Extract WordPress file and copy it.
copy WordPress folder and then paste at ‘C:/wamp/www/’
Now type ‘localhost/wordpress’ in your browser address bar and then click let’s go
After clicking let’s go you will see following screen.
type database name ‘my_wp‘ which we created in step 3.
type username as ‘root’ which is by default phpmyadmin’s username
leave password empty
and rest of the values like ‘localhost’ and ‘wp_’ will remain same.
Enter any title, username, password and email you want.
After completing the form press Install WordPress.
If you successfully install the WordPress, login prompt will be displayed.
now again type ‘localhost/wordpess’ on your browser address and then you will see your wordpress website