Configuring the local server with XAMPP

Source: Internet
Author: User

Objective

In my impression, every time I change the computer, every time the system is re-configured to reconfigure the environment, however, and the configuration of the Java environment variables above is the same as the configuration of the local server environment, I have been using the XAMPP integration environment, however, TMD every time the installation of Apache said Port is occupied and the like, In short, a variety of start can not, today I am a thorough understanding, the following gives a successful method and may encounter a variety of problems and precautions!

What is XAMPP

Borrow Baidu Encyclopedia:
XAMPP (Apache+mysql+php+perl) is a powerful building-station integration package. The original name of this package is lampp, but in order to avoid misunderstanding, the latest version has been renamed to XAMPP. It can be installed in various operating systems, such as Windows, Linux, Solaris, Mac os X, and many more languages: English, Simplified Chinese, Traditional Chinese, Korean, Russian, Japanese, etc.
Many people have realized from their own experience that installing Apache servers is not an easy thing to do. It's even harder if you want to add MySQL, PHP, and Perl. XAMPP is a version of Apache that is easy to install and contains MySQL, PHP, and Perl. XAMPP is really easy to install and use: Just download, unzip, start.

Download

XAMPP Chinese network, according to their own system version download is good:

https://www.apachefriends.org/zh_cn/index.html

Installation

Before installing, make sure that the following:
0: Please do not install in a folder with spaces, such as E/program Files/xampp, it is recommended to install directly under the packing directory, such as F:/xampp
1: A similar local server environment has not been installed before, or uninstall clean (including cleaning up the registry, etc.) even if it is installed
2:XAMPP based on the Microsoft VC + + 2008 runtime, please download and install it in advance, or the installation will be completed with error
3: Before installing, please turn off the antivirus software, because XAMPP will detect anti-virus software, and will prompt you to close, security is best to close first
Ensure that the above 4 points can be installed, all the way next, as long as the above are done, there will never be problems, after the installation is completed

Apache can't start?

The possible problems are:
A: Missing Microsoft VC + + 2008 runtime, Workaround: Refer to the 2nd above
B:80 Port is occupied, Apache default port is 80, go to Xampp-control panel, click Netstat, inside to see if there is a program occupy this port, workaround: End the process of consuming port, or modify the Apache default port, The method is: Open the XAMPP installation directory, modify the \apache\conf\httpd.conf file, find the following two sentences, the port is modified to 8081 or other.

Listen 80ServerName localhost:80

c:443 Port is occupied, to see if the method is used as above, modify the method: Open the XAMPP installation directory, modify the \apache\conf\extra\httpd-ssl.conf file, find listen 443 Such a sentence, change 443 port to 4433 or other.
D: Installation directory error, refer to the No. 0点 above
E: Close the Mod_perl module, if the Apache service starts and shuts down immediately, then you can try to run the XAMPP installation directory Xampp_start.exe program files, the Mod_perl module shut down.
F: Finally introduce an ultimate solution, if xampp after installation is really not used, then change other similar software, such as green small phpnow is good.
Last two points reference

Configuring the local server with XAMPP

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.