XAMPP is an easy to install Apache distribution containing MariaDB, PHP, Perl and ProFTPD. It contains: Apache, MariaDB, PHP & PEAR, Perl, ProFTPD, phpMyAdmin, OpenSSL, GD, Freetype2, libjpeg, libpng, gdbm, zlib, expat, Sablotron, libxml, Ming, Webalizer, pdf class, ncurses, mod_perl, FreeTDS, gettext, mcrypt, mhash, eAccelerator, SQLite and IMAP C-Client.
You can install XAMPP from aur using Paru in Parch Linux:
paru -S xampp
The default configuration should work out of the box. Setting the individual parts of XAMPP can by made by editing following files:
/opt/lampp/etc/httpd.conf
— Apache configuration. For example you can change folder with web page's source files./opt/lampp/etc/php.ini
— PHP configuration./opt/lampp/phpmyadmin/config.inc.php
— phpMyAdmin configuration./opt/lampp/etc/proftpd.conf
— ProFTPD configuration./opt/lampp/etc/my.cnf
— MySQL configuration.If you would like to set up security of server, just run:
/opt/lampp/xampp security
Use the following commands to control XAMPP:
/opt/lampp/xampp start,stop,restart
Alternatively, you can start, stop, or restart xampp.service
.