Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/facebook/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache httpd服务器服务位置?_Apache - Fatal编程技术网

Apache httpd服务器服务位置?

Apache httpd服务器服务位置?,apache,Apache,以下内容不起作用 /etc/init.d https重启 串联httpd重启 我在/etc/init.d中没有看到任何与httpd相关的文件 尽管httpd服务器运行良好。httpd.conf文件也不在/etc中。 我应该去哪里看 请帮助重新启动服务。能否指定您正在使用的发行版 Ubuntu 12.04LTS:服务apache2重启 Debian 6:服务apache2重启 Redhat:/sbin/service httpd restart Centos 7: /etc/systemd/sy

以下内容不起作用

/etc/init.d https重启 串联httpd重启

我在/etc/init.d中没有看到任何与httpd相关的文件

尽管httpd服务器运行良好。httpd.conf文件也不在/etc中。 我应该去哪里看


请帮助重新启动服务。

能否指定您正在使用的发行版

  • Ubuntu 12.04LTS:
    服务apache2重启
  • Debian 6:
    服务apache2重启
  • Redhat:
    /sbin/service httpd restart
Centos 7:

/etc/systemd/system/multi-user.target.wants/httpd.service
其中指出:

/usr/lib/systemd/system/httpd.service