previamente...
sudo apt install net-tools
First you should stop your apache server:
sudo /etc/init.d/apache2 stop
Step 1 – download XAMPP
For PHP 7
wget https://www.apachefriends.org/xampp-files/7.2.2/xampp-linux-x64-7.2.2-0-installer.run
Step 2 – Executeable permission
For PHP 7
Do execute the downloaded installer, we need to set executable permissions on it.
chmod +x xampp-linux-x64-7.2.2-0-installer.run
Step 3 – Install XAMPP
For PHP 7
sudo ./xampp-linux-x64-7.2.2-0-installer.run
Step 4 – Start XAMPP
To start all the service (packaged inside XAMPP)
sudo /opt/lampp/xampp start
To stop XAMPP
sudo /opt/lampp/xampp stop
- In the linux terminal navigate to your lampp directory.
cd /opt/lampp
- In the command line type:
sudo chmod 777 -R htdocs
http://localhost
Step 5 – Change service port (optional)
The location of conf can vary – for our case you can find it at /opt/lampp/etc/httpd.conf. Open the file using editor of your choice, find and update the ‘Listen 80’, replace 80 with port of your choice.
No hay comentarios:
Publicar un comentario