(Download latest xampp software as per your systemt configuration Like {64 bit for 64 bie os and 32 bit for 32 bit os}, i am giving official link to download the latest xampp software)
After Downloading Setup if setup will be in zip file than first extract zip file then -> click on setup
-> click on Next.
-> Click to Allow access or deactivate the firewall and any other antivirus software because it can hamper the process of installation.
-> Just before the installation, a pop-up window appears with a warning to disable UAC.
-> The next window will XAMPP setup wizard opens spontaneously. Click on "NEXT" to start the configuration of the settings.
-> After that, a 'Select Components' panel appears, To get a complete localhost server, it is recommended to install using the default options of containing all available components. Click NEXT to proceed further.
-> The setup is now ready to install. Click NEXT to take the process forward.
-> Select the location where the XAMPP software packet needs to be installed. Click NEXT to take the process forward.
Now, just be patient as the XAMPPServer is extracting files to your selected location. Let the process complete.
Once the status bar is turned fully green, an information screen will appear. Click on the Next
-> XAMPP Installation Complete. Click on the Finish
-> After Clicking on finish the next window will appeat automatically
Conclusion
If you have completed the above-mentioned steps carefully, I assure you won’t face any trouble in installing of xampp software. And once you are done with your project testing you can easily make it live