XAMPP fault and solution Summary

Source: Internet
Author: User

When XAMPP is used to configure the environment for the first time, many users are overwhelmed. After installation, XAMPP cannot be started, and such problems are frequently asked in forums. New friends should not be discouraged from encountering problems. Many friends who use XAMPP to build the environment have encountered such problems. Today I have summarized some common faults and simple solutions for installing XAMPP, I hope to help new friends, and I hope you can add and share your solutions to the problem.

1. Prepare for installation of XAMPP to ensure that the installation is successful at one time to the maximum extent.
Close software, processes, services, especially Skype and thunder as much as possible.
The most basic and direct method is to disable the startup Item. Method: start -- run -- enter msconfig -- press enter -- find "start" tab -- select disable all -- OK and restart the computer and try to run XAMPP again.
In addition, if your computer is installed with the IIS service, select enable LmHosts in local connection-TCP/IP protocol-properties-General-advanced-wins.

Ii. After installationProgramUnable to start
Usually click the star prompt busy... Apache started [port 80] or MySQL startup prompts error: MySQL service not started [-1]
Fault symptom and solution:
Fault 1: When you click the start button on the XAMPP console, the system prompts that the service is busy and port 80 is occupied.
Solution:

Method 1: Change the port
1) Check the occupied port and run cmd. Then, enter netstat -ano, enter the port, or directly run the xampp-portcheck.exe file in the xamppinstallation directory to check the port.
2) check that the local address contains xx. xx: 80 443. The PID of these rows writes down the numbers.
3) Start "Task Manager"> "process", and choose "View"> "Select column" from the toolbar. Select the PID (process identifier)

4) Check the program corresponding to the PID. It is easy to find that it occupies port 80;
5) directly access the process or use a third-party software such as the 360 security guard tool of the optimization master to prevent startup.
In this way, you can start XAMPP first, and then start your Skype and thunder.
Method 2:
1. Find the "httpd. conf" file in the installation directory of XAMPP, open it in a text editor, and change all 80 to 8081.
2. After saving, restart Apache. (After modifying the XAMPP configuration file, restart XAMPP and click exit to restart or restart the computer.) 3. Enter http: // localhost in IE: 8081 Test
Note:Do not use http: // localhost for testing, because localhost is http: // localhost: 80 by default and is 8081
Fault 2: Apache is automatically shut down in a few seconds after it is started.
I also encountered this problem. After the problem is enabled, it is automatically disabled. Finally, the error log contains the following error message:

[Wed Jun 08 13:42:46 2011] [Notice] Digest: generating secret for digest authentication... [wed Jun 08 13:42:46 2011] [Notice] Digest: done [wed Jun 08 13:42:47 2011] [Notice] Apache/2.2.14 (win32) dav/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 PERL/v5.10.1 configured -- resuming normal operations [wed Jun 08 13:42:47 2011] [Notice] server built: nov 11 2009 14:29:03 [wed Jun 08 13:42:47 2011] [crit] (22) invalid argument: parent: failed to create the child process. [wed Jun 08 13:42:47 2011] [crit] master_main: create child process failed. exiting. [wed Jun 08 13:42:47 2011] [Notice] parent: forcing termination of child process 36

Solution:
1. Click setup on the XAMPP control panel. The command line is displayed;
2. Press enter 6 and enable mob_perl.
Solve the problem!
Fault 3: After XAMPP is started, clicking Admin does not work.
Solution: Enter http: // localhost or http: // 127.0.0.1 in the browser to bypass the fault point and access from the browser.

check the error log in XAMPP \ apache \ logs to see the error.

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.