winxp[sp2]下Apache无法正常使用实战得出的解决办法_PHP
Apache
最近准备搞几个PHP的网站,于是需要在自己的电脑里装个PHP的服务器,已经很久没碰PHP,apache,mysql这些东西了所以就偷个懒直接下在个套装软件叫appserv,它可以一次性的在你的机器中安装php,mysql,apache,zend,phpmyadmin软件,非常的方便,而且有多种组合方式,详细可以去他的网站去了解.因为很早以前就用过这个软件,都是象软件一样安装好就可以用了的,可这次确遇到了个大麻烦.我先是下载了
AppServ 2.5.3 这个版本.我的系统是win xp sp2 版本
# PHP 5.0.3
# Apache 2.0.52
# MySQL 4.1.8
# Zend Optimizer 2.5.7
# phpMyAdmin 2.6.1-rc2
安装好后发现硬盘灯狂闪,电脑变的非常的慢.根本无法正常使用.看进程发现有两个apache进程,有一个是时不时的跳出来占用大量的CPU资源,没办法只好强行停止.以为是apache2.0与XP系统冲突,就又下载了AppServ 2.4.3
# PHP 4.3.10
# Apache 1.3.33
# MySQL 4.1.8
# Zend Optimizer 2.5.7
# phpMyAdmin 2.6.1-rc2
安装之后发现apache根本无法启动. 查看log文件显示
error.log:
[Sat Aug 06 22:47:12 2005] [crit] (10022)提供了一个无效的参数。: setup_inherited_listeners: WSASocket failed to open the inherited socket.
于是google一下,找到了一篇文章 "Win[sp2]下Apache无法正常工作的解法办法"
http://blog.chinaunix.net/article.php?articleId=36486&blogId=8054 引用
Apache SP2 启动 CPU setup_inherited_listeners
系统:Windows[sp2]
-----------------------------------------------
软件:Apache 1.3*
现象:无法启动,在服务里启动报告 ”服务启动后被自动关闭....“
Errlog:
[Mon Jul 18 12:48:24 2005] [crit] (10022)提供了一个无效的参数。: setup_inherited_listeners: WSASocket failed to open the inherited socket.
-------------------------------------------------------------------------------------------------------------
软件:Apache 2.0.*
现象:能正常启动,但大量占用CPU,不释放内存,(由于一直尝试运行子进程,可在任务管理器里看到经常现两个apache进程)用127.0.0.1访问没反应
Errlog:
[Mon Jul 18 04:07:28 2005] [notice] Server built: Feb 10 2005 06:11:34
[Mon Jul 18 04:07:28 2005] [notice] Parent: Created child process 448
[Mon Jul 18 04:07:28 2005] [notice] Child 448: Child process is running
[Mon Jul 18 04: 07:28 2005] [crit] (OS 10022)提供了一个无效的参数。 : Child 448: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Mon Jul 18 04:07:28 2005] [error] Parent: child process exited with status 3 -- Aborting.
[Mon Jul 18 04:07:29 2005] [notice] Apache/2.0.53 (Win32) configured -- resuming normal
======================================================================
觖决办法:
1.网上邻居-》本地连接-》属性-》高级—》Wins标签-》去掉启用LMhosts查询前的勾就可以了.
或.2控制面板-》windows防火墙-》高级标签-》网络连接设置-》设置-》勾选安全Web服务器(HTTPS)"选项,按两次"确定"即可
+++++++++++
完全如他所说,于是按照他知道的操作,发现他提供的解决办法的路径完全错误,难怪很多人回帖说根本找不到wins标签. 下面贴出经过我的实践找到的正确的路径.
正确的解决办法
1.网上邻居->本地连接->属性->internet协议(TCP/IP)->属性->高级->wins标签->去掉启用LMhosts查询前的勾.
2.控制面版->windows防火墙->高级标签->本地连接设置->服务的标签里勾选安全Web服务器(HTTPS)即可..
这样才算完全解决问题,我的apache服务器总算可以正常使用了,希望能给大家做个借鉴.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Solution to the problem that Win11 system cannot install Chinese language pack With the launch of Windows 11 system, many users began to upgrade their operating system to experience new functions and interfaces. However, some users found that they were unable to install the Chinese language pack after upgrading, which troubled their experience. In this article, we will discuss the reasons why Win11 system cannot install the Chinese language pack and provide some solutions to help users solve this problem. Cause Analysis First, let us analyze the inability of Win11 system to

As smartphone technology continues to develop, mobile phones play an increasingly important role in our daily lives. As a flagship phone focusing on gaming performance, the Black Shark phone is highly favored by players. However, sometimes we also face the situation that the Black Shark phone cannot be turned on. At this time, we need to take some measures to solve this problem. Next, let us share five tips to teach you how to solve the problem of Black Shark phone not turning on: Step 1: Check the battery power. First, make sure your Black Shark phone has enough power. It may be because the phone battery is exhausted

With the continuous development of social media, Xiaohongshu has become a platform for more and more young people to share their lives and discover beautiful things. Many users are troubled by auto-save issues when posting images. So, how to solve this problem? 1. How to solve the problem of automatically saving pictures when publishing on Xiaohongshu? 1. Clear the cache First, we can try to clear the cache data of Xiaohongshu. The steps are as follows: (1) Open Xiaohongshu and click the "My" button in the lower right corner; (2) On the personal center page, find "Settings" and click it; (3) Scroll down and find the "Clear Cache" option. Click OK. After clearing the cache, re-enter Xiaohongshu and try to post pictures to see if the automatic saving problem is solved. 2. Update the Xiaohongshu version to ensure that your Xiaohongshu

Everyone knows that if the computer cannot load the driver, the device may not work properly or interact with the computer correctly. So how do we solve the problem when a prompt box pops up on the computer that the driver cannot be loaded on this device? The editor below will teach you two ways to easily solve the problem. Unable to load the driver on this device Solution 1. Search for "Kernel Isolation" in the Start menu. 2. Turn off Memory Integrity, and it will prompt "Memory Integrity has been turned off. Your device may be vulnerable." Click behind to ignore it, and it will not affect the use. 3. The problem can be solved after restarting the machine.

CrystalDiskMark is a small HDD benchmark tool for hard drives that quickly measures sequential and random read/write speeds. Next, let the editor introduce CrystalDiskMark to you and how to use crystaldiskmark~ 1. Introduction to CrystalDiskMark CrystalDiskMark is a widely used disk performance testing tool used to evaluate the read and write speed and performance of mechanical hard drives and solid-state drives (SSD). Random I/O performance. It is a free Windows application and provides a user-friendly interface and various test modes to evaluate different aspects of hard drive performance and is widely used in hardware reviews

foobar2000 is a software that can listen to music resources at any time. It brings you all kinds of music with lossless sound quality. The enhanced version of the music player allows you to get a more comprehensive and comfortable music experience. Its design concept is to play the advanced audio on the computer The device is transplanted to mobile phones to provide a more convenient and efficient music playback experience. The interface design is simple, clear and easy to use. It adopts a minimalist design style without too many decorations and cumbersome operations to get started quickly. It also supports a variety of skins and Theme, personalize settings according to your own preferences, and create an exclusive music player that supports the playback of multiple audio formats. It also supports the audio gain function to adjust the volume according to your own hearing conditions to avoid hearing damage caused by excessive volume. Next, let me help you

Cloud storage has become an indispensable part of our daily life and work nowadays. As one of the leading cloud storage services in China, Baidu Netdisk has won the favor of a large number of users with its powerful storage functions, efficient transmission speed and convenient operation experience. And whether you want to back up important files, share information, watch videos online, or listen to music, Baidu Cloud Disk can meet your needs. However, many users may not understand the specific use method of Baidu Netdisk app, so this tutorial will introduce in detail how to use Baidu Netdisk app. Users who are still confused can follow this article to learn more. ! How to use Baidu Cloud Network Disk: 1. Installation First, when downloading and installing Baidu Cloud software, please select the custom installation option.

NetEase Mailbox, as an email address widely used by Chinese netizens, has always won the trust of users with its stable and efficient services. NetEase Mailbox Master is an email software specially created for mobile phone users. It greatly simplifies the process of sending and receiving emails and makes our email processing more convenient. So how to use NetEase Mailbox Master, and what specific functions it has. Below, the editor of this site will give you a detailed introduction, hoping to help you! First, you can search and download the NetEase Mailbox Master app in the mobile app store. Search for "NetEase Mailbox Master" in App Store or Baidu Mobile Assistant, and then follow the prompts to install it. After the download and installation is completed, we open the NetEase email account and log in. The login interface is as shown below
