XAMPP Xubuntu 12.04

XAMPP Installation

cd /tmp && wget -O xampp-linux-1.7.7.tar.gz http://goo.gl/mZx8Bsudo 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 stopsudo /opt/lampp/lampp restart

XAMPP Auto Start in Xubuntu

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

Upload Limit php.ini

terminal -> gksudo nautilusopt/lampp/etc/php.ini - changeupload_max_filesize = 10M to 100Mpost_max_size = 8M to 100M

Changes the ownership of the htdocs folder

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