Get Updates Via Email

Enter your email address:

Delivered by FeedBurner

About Me

facebook.com/Athul.Jayachandran twitter.com/athuljc

Followers

Installing XAMPP on Ubuntu 12.04 LTS 64bit to run PHP/Perl Scripts

XAMPP, as we all know is an open source web development server solution and consists of Apache, MySQL, and is widely used to run and test programs and scripts written in Php and Perl. Here is a tutorial on how to install XAMPP on Ubuntu 12.04 LTS.

Step 1: In Terminal, log in as root by entering the following command.
sudo -s
Step 2: After logging in as root, download the latest version of XAMPP - xampp-linux-1.8.1.tar.gz.

Step 3: Copy the downloaded file to the home folder and extract it using the command
tar xvfz xampp-linux-1.8.1.tar.gz -C /opt
Step 4: Now XAMPP has been installed and all you need to do is start the XAMPP service, which can be done by the command.
/opt/lampp/lampp start
Step 5: Now open up your browser and type http://localhost which will open up the XAMPP Dashboard. You can delete the index.php file in /opt/lampp/htdocs to disable the dashboard screen. 

Step 6: Copy your PHP/Perl scripts to the /opt/lampp/htdocs folder to open and run it from localhost. 

More XAMPP commands and functions can be found here.

We strongly recommend XAMPP over WAMP.

tags: XAMPP to run PHP and Perl programs in linux ubuntu localhost php help.

Related Posts Plugin for WordPress, Blogger...

Search This Blog