top of page
  • Writer's picturebeingwpthemes

How To Install WordPress and XAMPP Locally On A Computer

Are you planning to install Wordpress and XAMPP locally? Well, its a good idea if you want a development website that could be employed for testing or any other uses.


XAMPP allows you to run a WordPress site from your system. and as you have done with the setup process, you can easily install a new WordPress within few clicks.


But to be honest install WordPress and XAMPP can be a daunting task, especially for beginners. So you may need some help.


So, without wasting your time, let's start with our guide on how to install WordPress locally with XAMPP.


You may be wondering why would anyone go to the process of installing WordPress on their PC. As, would it not be simple to just install updates on your website and save your time? Setting updates on your WordPress live site will definitely save yourself time starting, but as if you ask from an experienced user, doing so is definitely risky.


There will always be a chance that updating the latest version of Wordpress, or plugin or a theme, will destroy your live website.


Below are some of the most common reasons why users are installing a local WordPress version on their system.


Testing: Installation of Local version of WordPress let you to safely and securely test tweaks, upgrades as well as other customizations.


Website Staging: Local WordPress could be employed as a Wp staging website. Just after the changes you have made, they could be sent to your site.


Development:  Local version of WordPress can be the best environment to build and tweak WordPress plugins and themes.


Offline Access: This can be very helpful to set up a testing WordPress website that could be easily accessed from anywhere, but a local version of WordPress installation doesn't require any internet connection.


Security and privacy: A local version of WordPress installation is accessible only on your computer and to you. This is really more safe as compared to a WordPress site that is available online.


Speed: Local installation runs fast as compare to their online counterparts.

If you observe, you can see there are tons of advantages to setting up a local version of WordPress. it is also among the simplest process.


What Is XAMPP?


To run WordPress on your computer, it is suggested that your environment should include:

PHP 7.3+,

Nginx or Apache

MariaDB 10.0 or MySQL 5.6+


Any of these applications can be easily installed. All are open-source and can be installed separately. it is quite time-taking to do this process. Apart from this, you can also use it to build local installations of other site solutions like PrestaShop, Joomla, Drupal, OpenCrt, and PHPBB.


The name XAMPP is the opposite of Apache (A), cross-platform (X), PHP (P), MariaDB (M), Perl(P).


You may wonder why it is called as cross-platform, the reason is that it functions on multiple operating systems. the 4 applications installed through XAMPP unlock diverse opportunities for site developers and owners.


Install XAMPP on Your Computer


As XAMPP is open-source software, you can easily download it for free.  it is also available for the Linux, Windows, Solaris and Mac operating systems.


XAMPP can be download with varied versions of PHP for the different operating systems.  The software comes with several add-ons that allow you to install top applications on top of XAMPP.


To start the installation procedure, download the XAMPP version that best meets your requirements, at that point double-tap the .exe file.


In the following stage, you have to choose the server and program language parts you need to install. All segments are chosen as a matter of course.


Presently, you have to characterize the area of the installation folder where XAMPP (and later your WordPress site) will be installed.


In the subsequent stage, you can locate a short note about the Bitnami application. I will talk progressively about how you can utilize Bitnami to install WordPress later in the article.


When you have finished the design steps, you can start to install XAMPP.


It just pauses for a moment for XAMPP to unload all files and install them on your computer. 

XAMPP may get hailed by anti-virus software, so make certain to give it get to.


Congrats! XAMPP has now been installed! Presently, you can start the XAMPP control panel in your Windows work area.


The XAMPP control panel can be stacked in English or German.


The control panel might be a touch of overwhelming from the start, yet it is easy to utilize once you know where everything is.


At the left, you will see the module segments that you installed. At the right, you can locate their related activities: Start, Admin, Config, and Logs. The admin activity catches will be turned gray out until having a place modules are running.


At the extreme right-hand side, there are connections to valuable functionalities, for example, the control panel arrangement territory, Netstat utility apparatus, direction shell, file adventurer, and administrations.


From start to finish, the download and installation procedure of XAMPP should just take you a couple of moments.


In the accompanying segments, I will tell you the best way to install WordPress locally utilizing Bitnami and how you can install WordPress physically. In both of these techniques, you have to start up the Apache and MySQL administrations. To do that, you should simply tap on the start catches for every module.


Presently, XAMPP will stay in your Windows taskbar except if you quit the application. By right-tapping the XAMPP symbol, you can turn modules on and off. You can stop XAMPP from here, as well.


You can check if your server is running effectively by composing the localhost into the URL bar of your program. At the point when you do as such, you should see the XAMPP invite page that incorporates the specialized subtleties of your installation.


Presently that XAMPP has been installed and the Apache and MySQL modules have been started, you can install WordPress, as well.


Install WordPress Using Bitnami


Bitnami is a very popular application platform that makes the process of installing well known open-source applications without any hassle. The organization was found by VMWare in May 2019; however, the originators of Bitnami have affirmed it will keep on being bolstered.


XAMPP urges clients to utilize Bitnami by advancing the application during the XAMPP installation process and furthermore as an "Across the board apparatus" on its additional items page.


You can download the Bitnami WordPress module from the Bitnami Modules for XAMPP page. It is accessible for Windows and Linux. At the hour of this composition, the module isn't accessible for other Unix systems, however, it works with OS X in the event that you use XAMPP-VM rather than XAMPP.


When you click on the Bitnami WordPress installation file, you will be asked which language you need to install WordPress in. The accessible dialects are English, Spanish, Portuguese, Simplified Chinese, Korean, Hebrew, German, Romanian, and Russian.


Presently, you can navigate the Bitnami WordPress module arrangement wizard.

In the subsequent stage, you have to choose the folder where XAMPP has been recently installed. In the event that you didn't change the default installation organizer for XAMPP, Bitnami will accurately list your XAMPP installation folder.


Bitnami will make your WordPress admin account now. You should simply enter your username, genuine name, email address, and password.


In this progression, essentially enter the name of your WordPress installation.


Presently, you can enter your SMTP association subtleties. You can browse two choices: Gmail and custom email supplier.


On the off chance that you select Gmail, you have to enter your Gmail address and password. In the event that you select custom, you should enter all the SMTP association data that is given by your email supplier.


The subsequent stage shows a notice for Bitnami Cloud. In the event that you leave the checkbox checked, it will open up their data page that clarifies the advantages of facilitating your WordPress site with them through cloud administrations, for example, Google Cloud and Amazon Web Services.


Bitnami will currently install WordPress on your Windows PC.


It just pauses for a moment or so for the important files to be installed.

Congrats! You have quite recently installed WordPress locally on your computer utilizing Bitnami! 


The last advance of the Bitnami WordPress installation wizard requests that you dispatch the Bitnami WordPress module. Doing so will open the front-end of your new WordPress site.

My new site is open locally at the http://127.0.0.1/wordpress/URL.


As you would expect, the admin region for my new WordPress site can be found locally at http://127.0.0.1/wordpress/wp-admin/.


Bitnami installed WordPress into the XAMPP applications organizer at C:\xampp\apps\wordpress. You can discover all the WordPress files inside the htdocs organizer.


As should be obvious, the way toward installing WordPress locally on your computer utilizing XAMPP and Bitnami is a breeze. The software thoroughly takes care of you.


I accept this is the strategy most WordPress clients ought to pick when installing a WordPress site locally on their computer.


Set Up WordPress Manually in XAMPP


No doubt, Bitnami is one of the easiest methods to install WordPress in XAMPP, but it is equally essential to know the procedure of installing WordPress manually.


Follow these 3 steps to install WordPress manually via XAMPP:


Build the WordPress database

Download WordPress

install Wordpress

So let's begin to build the WordPress database.


Make Your WordPress Database


You can make your WordPress database in the phpMyAdmin application that has been installed together with XAMPP. To get to phpMyAdmin, essentially click on the admin button for the MySQL module.


The phpMyAdmin application will stack up in your program.


Snap-on the "Databases" tab, enter a name for your WordPress database and afterward click on the "Make" button. You can call the database anything you need, however, make certain to recall it for the WordPress installation wizard later.


As opposed to installing WordPress in a live arrangement, you don't have to make a database client when utilizing XAMPP (in spite of the fact that regardless you can on the off chance that you wish).


Download WordPress


You can download from https://wordpress.org/download/. I just after downloading the installer, separate the ZIP file to unload the WordPress folder.


Next, go to the htdocs organizer inside your primary XAMPP installation folder. In Windows, on the off chance that you didn't change the area of the XAMPP installation folder during the arrangement, the htdocs organizer will be situated at C:\xampp\htdocs\.


Make another organizer for your nearby WordPress site inside this folder. You can utilize any name you like. You have to duplicate the substance of the WordPress folder you separated from the ZIP file into this new organizer.


You currently have everything setup to install WordPress locally.


It is currently time to install WordPress.


In the event that you wish, you can install WordPress by adding your database data to the wp-config-sample.php file and renaming it to wp-config.php. It is, be that as it may, a lot simpler to run WordPress' celebrated installation wizard; and you can generally adjust the wp-config.php file later if fundamental.


To run the WordPress installation wizard, you have to get to your new WordPress site. Keep in mind the folder you made in htdocs already? The name of this folder is utilized as your WordPress site area.


In this way, you can get to your WordPress site at http://localhost/yourwebsitename/. For example, in my setup, I needed to visit http://localhost/mylocalwordpress/. At the point when you visit your neighborhood installation URL, you will be given the WordPress installation wizard (situated at http://localhost/yourwebsitename/wp-admin/setup-config.php).


In the initial step, you can choose your site language from the handfuls WordPress has been converted into.


In the following stage, the installer advises you that you will require your database association data for the wizard.


Presently, you have to enter your database association subtleties. Enter your WordPress database name, database username and password, the database has, and the table prefix you need to use for your WordPress tables.


Your database name is the name of the database you made in phpMyAdmin. On the off chance that you have forgotten your database name at this stage, you can log once again into phpMyAdmin from the XAMPP control panel and see it there.


The database username ought to be set as root and the password field ought to be left clear. Database host ought to stay as localhost. You can likewise change the table prefix on the off chance that you wish. This merits doing in the event that you are anticipating making various WordPress sites in your neighborhood condition.


Next, you are approached to run the WordPress installation wizard.


You would now be able to enter the name of your new WordPress site, your administrator username and password, and your email address. This page likewise has an alternative to debilitate web crawlers from ordering your site; however that isn't material now since your site is disconnected.


At the point when you are prepared, click the "Install WordPress" button.


WordPress has now been installed on your computer and you can sign in to your new site.

The Bitnami WordPress installation wizard guided you to the front-end of your site. The manual WordPress installation technique will, rather, take you to the admin login page with the goal that you can enter your WordPress admin region at http://localhost/yourwebsitename/wp-admin/.


You would now be able to start utilizing your nearby WordPress site.


In spite of the fact that the Bitnami WordPress module rearranges the installation of WordPress, installing WordPress physically utilizing XAMPP is a long way from troublesome.

The Bitnami installation strategy spares you from making your WordPress database in phpMyAdmin and downloading the most recent version of WordPress from WordPress.org. Be that as it may, on the off chance that you install WordPress physically you oversee how things are set up.


The decision is yours.


A local version of WordPress is something that every WordPress user should use for website staging, testing, development and so on. No matter if you install wordpress manually, or you use the Bitnami module to make your installation process easy, the above-mentioned steps would definitely be going to guide you.


It is significant knowing that some applications, such as skype can clash with XAMPP as Apache Uses port 80.  You can also find too many videos and tutorials online on " How to resolve this problem" in case you face any issue, we recommend you to just uninstall and reinstall XAMPP again.

26 views1 comment
bottom of page