XAMPP is a free, cross-platform bundle of Apache, MySQL or MariaDB, PHP and Perl that gives you a working web server stack on a laptop or test server with one installer. It is a common way to run PHP and Laravel projects locally, and on Linux it installs under /opt/lampp.
Most posts here are hands-on fixes for problems that come up in day-to-day use. These include MySQL failing because port 3306 is already in use, MySQL shutting down unexpectedly, phpMyAdmin access denied after a reinstall, phpMyAdmin working on localhost but not by IP address on Ubuntu, and MariaDB root password and authentication plugin issues. A troubleshooting guide explains log levels and log locations for Apache, MySQL, phpMyAdmin, PHP and Composer. Setup guides cover installing XAMPP on Windows and Ubuntu, using it to run PHP locally and as a base for Laravel projects. There is also a lampp command reference and a list of files to clean up when XAMPP runs in production.
The tag helps PHP beginners setting up their first local environment and developers fixing a broken stack. It also helps anyone who has to keep a LAMPP-based server running on Linux.
Start here
- What is XAMPP? and How to Install XAMPP? – Explains what XAMPP bundles and walks through a Windows installation.
- How to install and Configure XAMPP on Ubuntu? – Install and configure XAMPP on Ubuntu using wget, chmod and the installer.
- Lampp commands line reference with example – Command reference for starting, stopping and restarting Apache and MySQL on Linux.
- Xampp Troubleshooting Guide – Find every log location and set log levels before chasing an error.
- How to Fix MySql port 3306 already in use Error/another instance already running. – Fix the most common MySQL startup failure caused by a port conflict.
- How to fix MySQL Shutdown Unexpectedly Error – Read mysql_error.log and recover from the MySQL shutdown unexpectedly error.
- Managing MariaDB Root Password and Connection Behavior in XAMPP (Ubuntu) – Understand root password, localhost vs 127.0.0.1 and skip-grant-tables recovery.
- XAMPP – LAMPP Tutorials: List of Production Files to Cleanup Guide – Learn which files to remove under /opt/lampp in a production setup.
Latest XAMPP articles
Icinga Install and Configuration
This guide shows how to set up Icinga 2 with a MariaDB backend on Ubuntu. It covers preparing MariaDB, resetting a lost root password on a system…
How to Reset or Recover Forgotten mySql root Password
To reset a forgotten MySQL or MariaDB root password, stop the server, restart it with grant checks turned off (skip-grant-tables), set a new password with ALTER USER,…
Complete Guide for Socket based vs TCP Based Application Connection
Here’s a clear, end-to-end tutorial you can keep handy. It explains what “socket-based” vs “TCP-based” really means, how to tell which one you’re using, and how to…
keycloak: Installing keycloak with mysql (socket + TCP enabled)
To run Keycloak 17+ (Quarkus) with MySQL on the same server (XAMPP/LAMPP). It covers two supported setups. Pick A (TCP) for a production-style config, or B (UNIX…
XAMPP – LAMPP Tutorials: List of Production Files to Cleanup Guide
Here’s a comprehensive and updated tutorial on which files should be cleaned up regularly in a production environment running XAMPP (under /opt/lampp), what each file/folder is, and…
Managing MariaDB Root Password and Connection Behavior in XAMPP (Ubuntu)
☁️ Introduction When working with MariaDB/MySQL inside XAMPP on Ubuntu, many developers face confusing issues related to root password behavior, localhost vs 127.0.0.1 access, and authentication plugins.This…
Step-by-Step Tutorial: Dynamic Container URL Routing using Apache (XAMPP) for Multi-User Laravel App
This tutorial guides you through setting up a multi-user container-based architecture using: We’ll configure Apache to dynamically proxy subdomains like user123.wizbrand.com to each user’s container (e.g., port…
Lampp commands line reference with example
List of all command with options for /opt/lampp/lampp Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world…
Xampp Troubleshooting Guide
Log Levels of Apache, MySql, PHPMyAdmin, PHP, Composer Apache MySQL PHPMyAdmin PHPMyAdmin’s log level is primarily controlled by the PHP configuration, as it’s a PHP application. PHP…
How to apply new certificates to xampp server?
Step 1 – Create a Private key from the hosting server Step 2 – Create a CSR file Step 3 – Upload your CSR file to Godaddy…
List of Compreshive Checklist to do Security Audit in XAMPP server
Conducting a security audit on a XAMPP server is crucial, especially if you’re considering moving a local development environment to a production setting. XAMPP is primarily designed…
Datadog Tutorials: How to Monitor Apache using Datadog in Windows
Step 1 – Download Xampp from this URL for windows. This would install Apache and mysql. https://www.apachefriends.org/download.html Step 2 – Run a installer Step 3 – Start…
Composer Install and Configuration Guide
Windows: Composer Install and Configuration Guide Prerequisite – XAMPP Step 1 – Download Composer package https://getcomposer.org/download/ Step 2 – Click on Composer-Setup.exe to start installer Step 3…
What is XAMPP? and How to Install XAMPP?
What is XAMPP? XAMPP is an acronym that stands for Cross-Platform, Apache, MySQL, PHP, and Perl, with the Ps standing for PHP and Perl, respectively. It’s an…
How to Install & configure Xampp and WordPress in Linux?
How to setup WAMP server in Linux? Referece: https://www.apachefriends.org/index.html How to create mysql user, database and grant a permission to a database in mysql? Reference https://www.digitalocean.com/community/tutorials/how-to-create-a-new-user-and-grant-permissions-in-mysql How…
How to Install WordPress in Windows using XAMPP?
In this article, I’m going to describe how to Install WordPress on your Local PC. Follow this some easy step, and learn how to install WordPress on…
How to install WordPress on Windows using XAMPP? Part-1
How to install WordPress on localhost XAMPP? What is the WordPress? WordPress is a free and open-source (Content Management System) which is based on PHP and MySql….
How to install and Configure XAMPP on Ubuntu?
Steps to install XAMPP on Ubuntu Server: 1. Login to Ubuntu machine using any ssh client (like putty) or it’s great if you have a direct access…
when I try to open localhost using xampp server error throw Object not found!
When Showing this type error in xampp localhost at running localhost using xampp server. Then First You will go to in file location as below “C:\Windows\System32\drivers\etc” and…
XAMPP: Another web server is already running
Step 1: Stop the Apache Step 2: and Then Restart Apache 👉 if above command will not work in your machine then do below steps: Step 1…
Free SSL Certificates using Letsencrypt.org and acme.sh on XMAPP in Linux
Referencehttps://github.com/acmesh-official/acme.sh Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have…
How to downgrade php from 8.0.0 to 7.1.32 in xampp 8.0.0?
Hey friends i am going to discuss with some common error with xampp. i installed xampp in my pc and working with Laravel version 5.8 and php…
HOW TO CREATE EVENT CALENDAR IN LARAVEL? PART-1
Step 1. Before creating the project firstly, we download all the setups. Composer XAMPP Visual Studio IDE Git Bash Here Step 2. Now open your Internet Browser…
Upload image in the database with local folder and image send mail.
Step-1 open terminal as a git base here in C:\xampp\htdocs look a pic After click on git base Here it will be open like this look a…
How to fix MySQL Shutdown Unexpectedly Error
Errors : mysql_error.log 2020-10-22 12:48:24 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions2020-10-22 12:48:24 0 [Note] InnoDB: Uses event mutexes2020-10-22 12:48:24 0 [Note] InnoDB: Compressed…
[SOLVED] Error: MySQL shutdown unexpectedly.
When I open XAMPP and click start MySQL button and it gives me an error. I had started it just before, but now it isn’t working. 12:19:12…
What is PHP?. And how to write php code.
PHP is a server side scripting language. that is used to develop Static websites or Dynamic websites or Web applications. PHP stands for Hypertext Pre-processor. How can start php step:-1 first…
how can solve 4001 error in a virtual runtime.
Step:1 got to this path and change this tag.#127.0.0.1 seodaily (seodaily its my project name,whatever you have project name wrtite here on the seodaily place. )…
How to Install Laravel Framework in Windows
By installing three software, we can work in Lvr, so let’s know which angle is the software which we can install Installing XAMPP Installing Composer Installing Laravel…
XAMPP: frequently asked questions
How do I fix "port 3306 already in use" in XAMPP?
Another MySQL instance or Windows service is already using the port. Stop that service, remove a leftover service with sc delete mysql from an administrator prompt, or change the port in my.ini.
Why does MySQL shut down unexpectedly in XAMPP?
This is usually caused by a port conflict or by damaged InnoDB or Aria data files, often after an improper shutdown. Check mysql_error.log for the exact cause, and back up the mysql/data folder before you try any repair.
How do I start and stop XAMPP on Linux?
Use the control script with root privileges, for example sudo /opt/lampp/lampp start, stop or restart. The script also accepts service-specific options such as startapache and startmysql.
Is XAMPP safe to use in production?
XAMPP is designed for development, and its default configuration favours convenience over security. If you run it on a server, set passwords, restrict phpMyAdmin access and remove sample and unneeded files.
