XAMPP and yii frameworks

Source: Internet
Author: User
Tags php development environment

In fact, the title is designed to build a php development environment.

 

The project needs to temporarily attack php development content and implement project release by deploying servers.

 

To use XAMPP as an IDE developed by PHP, use XAMPP as a powerful tool.

 

1. Install XAMPP

Download the file: XAMPP Mac OS X 1.7.3, and double-click to install

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!

 

2. If you encounter the following error in XAMPP: Starting ProFTPD:

 

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.

 

3. 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.