[Mac tips] install XAMPP on a Mac

Source: Internet
Author: User

Install XAMPP on Mac

Luo chaohui (http://www.cnblogs.com/kesalin) This article follows the "signature-non-commercial use-consistency" creation public agreement

What is XAMPP?

Official introduction:

XAMPP for Mac OS x is the simplest, most practical, and most complete network server solution on Mac OS X. This release includes Apache 2 servers integrated with the latest MySQL, PHP, and Perl. It is released in the form of Mac OS X installation package, including all necessary files, without the need to download anything else.

 

If you are an experienced network developer or a Mac enthusiast who needs to run servers, create dynamic webpages, or use databases, this is what you are looking!

 

This version requires Mac OS X 10.4 (Intel & PPC) or higher.

 

Download and install

Refer to here. If you only want to install it, follow me:

1. download the file: XAMPP Mac OS X 1.7.3, and double-click to install it.

 

2,After the installation is complete, run the following command to run XAMPP.Log on to the terminal as the system administrator root:

Sudo Su

Run the following command to start XAMPP:

/Applications/XAMPP/xamppfiles/XAMPP start

If you can see a message similar to the following on the screen:

Starting XAMPP for MacOS X 1.7.3...
XAMPP: Starting Apache with SSL (and PhP5 )...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for MacOS X started.

Congratulations! The installation is successful!


3. If youXAMPP: Starting ProFTPD... the following error occurs in this step:

 

XAMPP: Starting ProFTPD.../applications/XAMPP/xamppfiles/XAMPP: Line 184:/applications/XAMPP/xamppfiles/var/ProFTPD/start. Err: no such file or directory
Fail.
Contents of "/applications/XAMPP/xamppfiles // var/ProFTPD/start. Err ":
Cat:/applications/XAMPP/xamppfiles // var/ProFTPD/start. Err: no such file or directory



Run the following command:

Sudo mkdir/applications/XAMPP/xamppfiles/var/ProFTPD/
Touch/applications/XAMPP/xamppfiles/var/ProFTPD/start. Err
Sudo/applications/XAMPP/xamppfiles/XAMPP fix_rights

Then perform the operation in step 2 again.

 

4. After the installation is successful, enter http: // localhost in the browser. You can see the following page!

 


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.