XAMPP Install Linux - thiagobs-webdev/helptools GitHub Wiki
How to install xammp on linux
# Download do xammp
- Download Link (Choose linux version):
https://www.apachefriends.org/pt_br/download.html
-
Open terminal:
-
Go to the 'Downloads' directory:
cd Downloads
- Instalation permission (Locate your xammp file):
sudo chmod +x xampp-linux-x64-7.3.6-0-installer.run
- Run instalation (Locate your xammp file):
sudo ./xampp-linux-x64-7.3.6-0-installer.run
- Done, Now let's set up PHP:
# Creating symbolic link to PHP
- Into in directory of settings linux:
cd /usr/local/bin
- Create link of run PHP:
sudo ln -s /opt/lamp/bin/php php
- Done, Now Check PHP version to confirm previous step:
php -v
- The output should look like this:
PHP 7.3.6 (cli) (built: Jun 3 2019 09:27:32) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.6, Copyright (c) 1998-2018 Zend Technologies
# Run XAMPP
- Start XAMPP:
sudo /opt/lampp/lampp start
Or too
sudo /opt/lampp/manager-linux-x64.run
# XAMPP unistall
> /opt/lampp/uninstall
# Extra Settings
- Set htdocs permission:
sudo chmod 777 /opt/lampp/htdocs/