Installing XAMPP
1. Download XAMPP
sudo wget https://www.apachefriends.org/xampp-files/7.4.8/xampp-linux-x64-7.4.8-0-installer.run
2. Make the downloaded file executable
sudo chmod +x xampp-linux-x64-7.4.8-0-installer.run
3. Install XAMPP
sudo ./xampp-linux-x64-7.4.8-0-installer.run
4. Start XAMPP
5. Set Password
/opt/lamp/lamp security
6. Allow access through internet
vi /opt/lampp/etc/extra/httpd-xampp.conf
7. Check in browser
Uninstalling XAMPP
- Go to XAMPP Directory
cd /opt/lampp
- Run the following command
./uninstall
- Aftere completing the uninstalling process, remove xampp folder
sudo rm -r /opt/lampp
Troubleshoot
Error :
When starting XAMPP, there is error :
httpd: Syntax error on line 522 of /opt/lampp/etc/httpd.conf: Syntax error on line 13 of /opt/lampp/etc/extra/httpd-xampp.conf: Cannot load modules/mod_perl.so into server: libnsl.so.1: cannot open shared object file: No such file or directory
Solution :
it seems you’re missing the libnsl, install it through this command:
# sudo dnf install libnsl