Wamp cannot be accessed

Source: Internet
Author: User

The wampserver service runs normally, and the PHP page is out of the control. The httpd.exe process accounts for more than 50% of the CPU, and finally finds a solution.

The log is as follows: [Mon Dec 31 18:51:47 2007] [Error] (OS 10038) tried an operation on a non-socket. : Child 1732: encountered too assumerrors accepting client connections. Possible causes: Dynamic Address renewal, or incompatible VPN or firewall software. Try using the win32disableacceptex directive.

Problem: The httpd.exe process of Apache has a CPU usage of 50% and cannot run php or even access HTML!

Solution 1:

SomeProgramAfter modifying WinSock, run the netsh Winsock reset command to fix WinSock and restart the calculator!

(I used the dig command to solve the problem that the httpd.exe process is too high and the PHP page cannot be opened)

Solution 2:

Add the win32disableacceptex tag to the httpd. conf file as follows:

<Ifmodule mpm_winnt.c \>
Threadsperchild 1000
Maxrequestsperchild 10000
Win32disableacceptex
</Ifmodule \>

Solution 3:

1. Select "Network Neighbor"> "Local Connection"> "properties"> "Internet Protocol" (TCP/IP)> "properties"> "advanced"> "wins tag"> remove the check box before enabling the LmHosts query.
2. Select "Control Panel"> "Windows Firewall"> "Advanced tab"> "local connection settings"> "service", and select "Secure Web Server (https ).
3. Restart Apache.

Some of the three methods may fail to solve the problem. You may need to try them one by one.

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.