
그래서 웹 숙제를 하기 위해 Apache를 설정했습니다. 내가 갈 때http://localhost"작동합니다!"라고 적혀 있어요. 하지만 내가 도착했을 때http://localhost/index.html(해당 페이지의 위치) "연결할 수 없습니다" 오류가 발생합니다(Firefox). 내가 갈 때도 마찬가지http://localhost/test.php
Apache Monitor를 열 때 시작을 클릭하고 UAC에 대해 예를 클릭하면 "요청한 작업이 실패했습니다!"라는 메시지가 나타납니다.
오류 로그는 다음과 같습니다.
Starting the Apache2.2 service
The Apache2.2 service is running.
] Apache/2.2.21 (Win32) configured -- resuming normal operations
[Thu Nov 17 11:16:19 2011] [notice] Server built: Sep 9 2011 10:26:10
[Thu Nov 17 11:16:19 2011] [notice] Parent: Created child process 2496
[Thu Nov 17 11:16:19 2011] [notice] Child 2496: Child process is running
[Thu Nov 17 11:16:19 2011] [notice] Child 2496: Acquired the start mutex.
[Thu Nov 17 11:16:19 2011] [notice] Child 2496: Starting 64 worker threads.
[Thu Nov 17 11:16:19 2011] [notice] Child 2496: Starting thread to listen on port 80.
[Thu Nov 17 11:19:10 2011] [error] [client 127.0.0.1] File does not exist: C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Thu Nov 17 11:19:10 2011] [error] [client 127.0.0.1] File does not exist: C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Thu Nov 17 11:19:10 2011] [error] [client 127.0.0.1] File does not exist: C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Thu Nov 17 11:36:13 2011] [notice] Parent: Received restart signal -- Restarting the server.
[Thu Nov 17 11:36:13 2011] [notice] Child 2496: Exit event signaled. Child process is ending.
httpd.exe: Syntax error on line 129 of C:/Program Files (x86)/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/php/php5apache2_2.dll into server: The specified module could not be found.
[Thu Nov 17 11:36:13 2011] [warn] (OS 995)The I/O operation has been aborted because of either a thread exit or an application request. : winnt_accept: Asynchronous AcceptEx failed.
[Thu Nov 17 11:36:14 2011] [notice] Child 2496: Released the start mutex
[Thu Nov 17 11:36:15 2011] [notice] Child 2496: All worker threads have exited.
[Thu Nov 17 11:36:15 2011] [notice] Child 2496: Child process is exiting
답변1
아파치 실행관리자로서또는UAC 비활성화. Apache의 스레드가 OS에 의해 제한되고 있습니다.