10-minute php development environment configuration in Ubuntu (XAMPP)

Source: Internet
Author: User
Tags php development environment filezilla ftp
Ubuntu is undoubtedly the preferred version for Linux beginners, because it supports a very good GUI. However, XAMPP is the first choice for php beginners. 1. what is XAMPP? XAMPP (Apache + MySQL + PHP + PERL) is a powerful integrated software package for website creation. The original package name is LAMPP, but to avoid misunderstanding,

Ubuntu is undoubtedly the preferred version for Linux beginners, because it supports a very good GUI.

However, XAMPP is the first choice for php beginners.

1. what is XAMPP?

XAMPP (Apache + MySQL + PHP + PERL) is a powerful integrated software package for website creation. This software package was originally named LAMPP, but in order to avoid misunderstanding, the latest versions were renamed XAMPP. It can be installed and used in Windows, Linux, and Solaris operating systems. it supports multiple languages: English, Simplified Chinese, Traditional Chinese, Korean, Russian, and Japanese.

 

Many people use their own experience to realize that installing Apache server is not easy. If you want to add MySQL, PHP, and Perl, it is even harder. XAMPP is an Apache release that is easy to install and contains MySQL, PHP, and Perl. XAMPP is indeed very easy to install and use: you only need to download, decompress, and start it.

XAMPP has four versions so far:

Applicable to Linux (tested in Ubuntu, SUSE, RedHat, Mandrake, and Debian ),

Applicable to Windows 98, NT, 2000, 2003, XP, and Vista,

Test version for Solaris iSCSI (developed and tested in Solaris 8 environment ),

Test version for Mac OS X.

The XAMPP version for Mac OS X and Solaris is still in the first stage of development. You are at your own risk when using it!

XAMPP 1.6.5 released!

Update:

Apache 2.2.6 + OpenSSL 0.9.8g

MySQL 5.0.51

PHP 5.2.5 & PHP 4.4.6

PhpMyAdmin 2.11.3

FileZilla FTP Server 0.9.24

Mercury Mail Transport System v4.52

2. Click here to download the latest version: xampp-linux-1.7.1.tar.gz

3. install

Enter the following command after downloading:

Log on to Linux shell and [color = # BF0000] as a system administrator:

Su

Release the downloaded compressed file to/opt:

Tar xvfz xampp-linux-1.7.1.tar.gz-C/opt

Warning: only the preceding command can be used to install XAMPP. Do not use any Microsoft Windows tool to release compressed files, which is useless.

Warning 2: an existing XAMPP version is overwritten when you use this command.

This is the end. XAMPP is installed in the/opt/lampp directory. 4: start running

Run the following command to run XAMPP:

/Opt/lampp start

You should be able to see a message similar to the following on the screen:

Starting XAMPP 1.7.1...

LAMPP: Starting Apache...

LAMPP: Starting MySQL...


LAMPP started.

Okay. Apache and MySQL are running.

5: test

Well, this is simple, but how do you check whether all components work properly? You only need to enter the following link in your browser:

Http: // localhost

Now you can see links that check the working status of installed software and the XAMPP start page of some sample programs.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.