![Windows Server 2016 的奇怪安全设置](https://linux22.com/image/1546069/Windows%20Server%202016%20%E7%9A%84%E5%A5%87%E6%80%AA%E5%AE%89%E5%85%A8%E8%AE%BE%E7%BD%AE.png)
因此,我一直在尝试安装 XAMPP 并在 Windows Server 2016 环境中运行它,而我使用的 Windows Server 版本似乎有一大堆奇怪的安全设置。因此,在尝试安装 XAMPP 时,我收到一条错误消息,提示“由于您系统上的已激活用户帐户用户帐户,XAMPP 的某些功能可能受到限制。”因此,我尝试按照它的建议禁用 UAC 设置,但仍然收到错误。我继续安装,现在在尝试运行 apache 时收到一大堆错误,如下所示:
4:27:47 PM [Apache] Error: Apache shutdown unexpectedly.
4:27:47 PM [Apache] This may be due to a blocked port, missing dependencies,
4:27:47 PM [Apache] improper privileges, a crash, or a shutdown by another method.
4:27:47 PM [Apache] Press the Logs button to view error logs and check
4:27:47 PM [Apache] the Windows Event Viewer for more clues
我确信这是因为这台机器的安全设置很奇怪。有什么方法可以检查并禁用其中一些安全功能吗?它们确实很烦人,而且很碍事。
编辑 忘记包含 error.log
[Tue Nov 14 16:26:56.857893 2017] [ssl:warn] [pid 2180:tid 544] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP: syntax error, unexpected '(' in C:\Program Files (x86)\xampp\php\php.ini on line 709
3:0 server certificate does NOT include an ID which matches the server name
[Tue Nov 14 16:26:57.186056 2017] [mpm_winnt:notice] [pid 2180:tid 544] AH00455: Apache/2.4.29 (Win32) OpenSSL/1.0.2l PHP/5.6.32 configured -- resuming normal operations
[Tue Nov 14 16:26:57.186056 2017] [mpm_winnt:notice] [pid 2180:tid 544] AH00456: Apache Lounge VC11 Server built: Oct 23 2017 12:17:08
[Tue Nov 14 16:26:57.186056 2017] [core:notice] [pid 2180:tid 544] AH00094: Command line: 'apache\\bin\\httpd.exe -d C:/Program Files (x86)/xampp/apache'
[Tue Nov 14 16:26:57.201750 2017] [mpm_winnt:notice] [pid 2180:tid 544] AH00418: Parent: Created child process 1020
Apache server shutdown initiated...
sl:warn] [pid 1020:tid 528] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP: syntax error, unexpected '(' in C:\Program Files (x86)\xampp\php\php.ini on line 709
3:0 server certificate does NOT include an ID which matches the server name
[Tue Nov 14 16:26:58.764107 2017] [mpm_winnt:notice] [pid 1020:tid 528] AH00354: Child: Starting 150 worker threads.
[Tue Nov 14 16:27:03.045467 2017] [mpm_winnt:notice] [pid 2180:tid 544] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Nov 14 16:27:05.076607 2017] [mpm_winnt:notice] [pid 1020:tid 528] AH00364: Child: All worker threads have exited.
[Tue Nov 14 16:27:05.107828 2017] [mpm_winnt:notice] [pid 2180:tid 544] AH00430: Parent: Child process 1020 exited successfully.
[Tue Nov 14 16:27:08.530385 2017] [ssl:warn] [pid 4240:tid 508] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP: syntax error, unexpected '(' in C:\Program Files (x86)\xampp\php\php.ini on line 709
3:0 server certificate does NOT include an ID which matches the server name
[Tue Nov 14 16:27:08.842405 2017] [mpm_winnt:notice] [pid 4240:tid 508] AH00455: Apache/2.4.29 (Win32) OpenSSL/1.0.2l PHP/5.6.32 configured -- resuming normal operations
[Tue Nov 14 16:27:08.842405 2017] [mpm_winnt:notice] [pid 4240:tid 508] AH00456: Apache Lounge VC11 Server built: Oct 23 2017 12:17:08
[Tue Nov 14 16:27:08.842405 2017] [core:notice] [pid 4240:tid 508] AH00094: Command line: 'apache\\bin\\httpd.exe -d C:/Program Files (x86)/xampp/apache'
[Tue Nov 14 16:27:08.858036 2017] [mpm_winnt:notice] [pid 4240:tid 508] AH00418: Parent: Created child process 4500
[Tue Nov 14 16:27:10.404739 2017] [ssl:warn] [pid 4500:tid 516] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP: syntax error, unexpected '(' in C:\Program Files (x86)\xampp\php\php.ini on line 709
3:0 server certificate does NOT include an ID which matches the server name
[Tue Nov 14 16:27:10.701602 2017] [mpm_winnt:notice] [pid 4500:tid 516] AH00354: Child: Starting 150 worker threads.
另外,我的 Arma 3 服务器在连接数据库时遇到了一些问题。也许这也与权限有关?