求大神解救!Apache


SetHandler application/x-httpd-php

在设置文件里增加PHP 之后无法重启Apache
Logs error 如下:
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.100 for ServerName
[Wed Aug 06 19:53:23 2014] [notice] Child 2840: Child process is running
[Wed Aug 06 19:53:23 2014] [notice] Child 2840: Acquired the start mutex.
[Wed Aug 06 19:53:23 2014] [notice] Child 2840: Starting 64 worker threads.
[Wed Aug 06 19:53:23 2014] [notice] Child 2840: Starting thread to listen on port 80.
[Wed Aug 06 19:56:09 2014] [notice] Parent: Received restart signal -- Restarting the server.
[Wed Aug 06 19:56:09 2014] [notice] Child 2840: Exit event signaled. Child process is ending.
httpd.exe: Syntax error on line 134 of F:/php/apache/conf/httpd.conf: Expected
but saw
[Wed Aug 06 19:56:09 2014] [warn] (OS 995)由于线程退出或应用程序请求,已中止 I/O 操作。 : winnt_accept: Asynchronous AcceptEx failed.
[Wed Aug 06 19:56:10 2014] [notice] Child 2840: Released the start mutex
[Wed Aug 06 19:56:11 2014] [notice] Child 2840: All worker threads have exited.
[Wed Aug 06 19:56:11 2014] [notice] Child 2840: Child process is exiting

SetHandler application/x-httpd-php
当前问题共有如下(2)个解决方案
  • 阿里服务器租用
    阿里服务器租用
    SetHandler application/x-httpd-php写错了,应该是 SetHandler application/x-httpd-php少了个h
  • lizhihong404
    lizhihong404
    把php去掉
上一篇:VPS 上常用的安全措施有哪些
下一篇:怎么申请不需要备案的服务器