1. Information
2. Linux
2.1. Installation
-
Note: XAMPP requires a desktop environment.
-
Download xampp-linux-x64-8.2.12-0-installer.run from https://www.apachefriends.org.
# Install. chmod +x Downloads/xampp-linux-x64-8.2.12-0-installer.run sudo Downloads/xampp-linux-x64-8.2.12-0-installer.run # Uninstall. sudo /opt/lampp/uninstall
2.2. Configuration
-
The configuration files are located in the /opt/lampp/etc folder.
Security: By default, XAMPP is not secure.
To secure it, run sudo /opt/lampp/lampp security and follow the prompts to set passwords.
File Permissions: If you need to edit files in htdocs without sudo, you may need to change the ownership of the folder to your user.
2.3. Usage
-
The website files are located in the /opt/lampp/htdocs/dashboard folder.
# Start all XAMPP services (Apache, MariaDB, ProFTPD). sudo /opt/lampp/lampp start sudo /opt/lampp/lampp restart sudo /opt/lampp/lampp stop -
Browse to http://localhost.
3. macOS
4. Windows
4.1. Installation
4.2. Configuration
-
Set the COMPOSER system environment variable to C:\ProgramData\ComposerSetup\bin.
-
Set the PHP system environment variable to XAMPP\php\php.exe.
composer --version