Skip to content

Instantly share code, notes, and snippets.

@manniru
Last active August 29, 2015 14:06
Show Gist options
  • Select an option

  • Save manniru/0eb9309cf4626f5079f9 to your computer and use it in GitHub Desktop.

Select an option

Save manniru/0eb9309cf4626f5079f9 to your computer and use it in GitHub Desktop.
//http://ubuntuportal.com/2013/12/how-to-install-xampp-1-8-3-for-linux-in-ubuntu-desktop.html
wget http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.8.2/xampp-linux-x64-1.8.2-6-installer.run/download
sudo chmod +x xampp-linux-x64-1.8.2-6-installer.run
sudo ./xampp-linux-x64-1.8.2-6-installer.run
sudo /opt/lampp/lampp start
sudo /opt/lampp/lampp stop
sudo /opt/lampp/lampp restart
http://localhost/xampp/
sudo nano /etc/rc.local
#! /bin/ bash
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure que the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/opt/lampp/lampp start
exit 0
// http://tutorialsea.com/kb/linux-tutorial/access-forbidden-new-xampp-security-concept-error-403/
sudo nano /opt/lampp/etc/extra/httpd-xampp.conf
Just put # mark before below, And importantly, stop and start Apache in xampp control panel.That’s it, it definitely work
#
# New XAMPP security concept
#
#Require local
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
///////////
/opt/lampp/etc/my.cnf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment