Friday, April 5, 2013

How to install XAMP on Ubuntu

XAMPP is a free and open source cross-platform web server solution stack package, consisting mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP and Perl programming languages.
You can download xampp for linux in here. After the download is complete, open the downloads folder in your computer.

1. Unzip the file. Run in terminal:
tar -zxvf xampp-linux-1.8.1.tar.gz -C /opt

2. If your architecture is 64 bit, do:
sudo apt-get update
and then install 32 bit libraries, do:
sudo apt-get install ia32-libs

3. To start xampp, do:
sudo /opt/lampp/lampp start
And then open your browser and see xampp splash page
http://localhost

To fix Access Forbidden! New Xampp secuirty, do:
sudo nano /opt/lampp/etc/extra/httpd-xampp.conf

find “Directory “/opt/lampp/phpmyadmin”"

AllowOverride AuthConfig Limit
Order allow,deny
Allow from all


and change with

AllowOverride AuthConfig Limit
Order allow,deny
Allow from all
Require all granted

No comments:

Post a Comment