XAMPP Xubuntu 12.04

XAMPP Installation

cd /tmp && wget -O xampp-linux-1.7.7.tar.gz http://goo.gl/mZx8B
sudo tar xvfz  xampp-linux-1.7.7.tar.gz  -C /opt

Start now XAMPP with the following command:

sudo /opt/lampp/lampp start

For stopping or restarting XAMPP, you can use later these commands:

sudo /opt/lampp/lampp stop
sudo /opt/lampp/lampp restart

XAMPP Auto Start in Xubuntu

sudo ln -s /opt/lampp/lampp /etc/init.d/lampp
sudo update-rc.d -f lampp defaults

Upload Limit php.ini

terminal -> gksudo nautilus
opt/lampp/etc/php.ini - change
upload_max_filesize = 10M to 100M
post_max_size = 8M to 100M

Changes the ownership of the htdocs folder

sudo chmod -R 777 /opt/lampp/htdocs/