

You can also use phpMyAdmin to create and manage your database. It also uses MySQL, which is a database management software.

It uses Apache, an open-source server architecture for your computer to provide your WordPress with a server. Using a database WordPress keeps track of posts, users, usernames, passwords, and much more.

WordPress also needs a database to operate. Now, your browser doesn’t understand raw PHP code unless it is first compiled through a server. WordPress is created with PHP, which is a server-side programming language. WordPress mainly needs 2 things to run, a server and a database. XAMPP is a software package that contains all the applications you need to setup and run WordPress locally on your computer. With that being said, let’s first understand what XAMPP is and why we need it to install WordPress locally. If you want to make your website live, then you have to purchase a domain and hosting for your WordPress website. So if you are a professional developer or learning WordPress development, this is a good practice.Īn important side note: You might already know this, but it’s still important to mention that the local WordPress website is not visible on the internet or to others. After that, they upload those changes on the live server. For all of their projects, they create a local host and make changes there.

You might have heard the term ‘XAMPP WordPress’, which actually means building your WordPress site on localhost using XAMPP.īig companies and professional WordPress developers also follow this method. However, if you make your WordPress site live without customizing it, it puts a bad impression on your site if people visit. Local WordPress gives you the freedom to perform various tests before making it live online.Īlthough you do need a domain name for your website and also hosting services to make it online. Using this method, you don’t have to go through the trouble of buying a domain & hosting. Installing WordPress on localhost is actually a common practice among developers and people who are learning WordPress. Why would you run WordPress on localhost?
