Widely Vision

  • Blog Stats

    • 4,379 hits
  • Enter your email address to follow this blog and receive notifications of new posts by email.

    Join 7 other followers

  • Blog’s License

    Creative Commons License
  • Recent Comments

    Mina F. Beshay on Google Buzz Analyzer
    Mohamed Ramzy on Google Buzz Analyzer
    Moustafa Mahmoud on Google Buzz Analyzer
    aboelnour on Deeper in Libraries With …
    sigtermer on Deeper in Libraries With …
  • Archives

  • Advertisements
  • Real History of Israel

  • Poll

  • Get a PDF version

  • Follow This Blog

  • March 2018
    S M T W T F S
    « Mar    

Archive for the ‘Web development’ Category

Setup web development environment (XAMPP)

Posted by aboelnour on June 15, 2009


Peace be upon you:

hi there, so in last few days it was required from me a PHP project , so a problem faced me that the PHP is a server side languge , so i need a server to run my project it will along story to creat a web server to run a project , so my friend khaled hady offered a good solution to use  XAMPP and he explained it in his blog http://war2aw2lm.blogspot.com/2009/06/3-in-1-xampp-php-mysql-apache.html but he explianed it in windows but i using ubuntu so i decided to begin the journey to install the XAMPP in ubuntu later i discover it is easy

Note: This guide is aimed at a development environment only and should not be used as a public web server (we can explain it in another article)


  1. Download version of XAMPP from
    (Source URL: http://www.apachefriends.org/en/xampp-linux.html#374)
  2. Extract the archive to /opt  (make sure you are in the directory that you downloaded the archive to)

    sudo tar xvfz xampp-linux-1.5.3a.tar.gz -C /opt

To start it up, open a terminal and type this:

sudo /opt/lampp/lampp start

To stop it, open a terminal and type this:

sudo /opt/lampp/lampp stop
To see additional commands, open a terminal and type this:

sudo /opt/lampp/lampp
To use the sweet gtk/python control panel:

Run in a terminal:

gedit ~/.local/share/applications/xampp-control-panel.desktop
Paste the following into the open file and save and exit.

[Desktop Entry]
Comment=Start/Stop XAMPP
Name=XAMPP Control Panel
Exec=gksudo "python /opt/lampp/share/xampp-control-panel/xampp-control-panel.py"
Name[en_CA]=XAMPP Control Panel
Comment[en_CA]=Start/Stop XAMPP
“XAMPP Control Panel” will show up in your applications menu under Internet or others.
Test to see if XAMPP is running
Once XAMPP is up and running open firefox and go to: http://localhost/
You should see the XAMPP test page.
Location of files and uploading

XAMPP by default uses /opt/lampp/htdocs as the root web directory. The easiest way to start working on files is to link a folder in your home directory(like an IDE work space) into this directory.

my work space path:/home/aboelnour/NetBeansProjects/moodle
Link to /opt/lampp/htdocs
sudo ln -s ~/NetBeansProjects/moodle /opt/lampp/htdocs/$USER
Now any files and folders your work space will be published to your personal web server.
Dealing with PHP and mySQL with XAMPP in ubuntu:
  1. you can deal with mySQL directly just tube in your browser http://localhost/phpmyadmin/
  2. you can deal with PHP by using the additional commands you will find  to install PHP4 & PHP5
so that’s it if you have any problems or comments or feedback please let me know & don’t hesitated
best wishes,
To start it up, open a terminal and type this:

sudo /opt/lampp/lampp start

Posted in linux, Web development | 8 Comments »

%d bloggers like this: