最近发现网站访问时会出现 Failed to load resource: net::ERR_CONNECTION_RESET
本以为是程序的问题,但看了下日志里边,并没有报错日志。 于是就查看了 apache.log 错误时 如下 [Sat Mar 31 10:23:23.471821 2018] [mpm_winnt:notice] [pid 4596:tid 476] AH00422: Parent: Received shutdown signal -- Shutting down the server. [Sat Mar 31 10:23:25.471821 2018] [mpm_winnt:notice] [pid 5760:tid 380] AH00364: Child: All worker threads have exited. [Sat Mar 31 10:23:25.503071 2018] [mpm_winnt:notice] [pid 4596:tid 476] AH00430: Parent: Child process 5760 exited successfully. Starting the 'UPUPW_Apache' service The 'UPUPW_Apache' service is running. on line 0 [Sat Mar 31 10:23:27.440571 2018] [mpm_winnt:notice] [pid 5000:tid 476] AH00455: Apache/2.4.17 (Win64) OpenSSL/1.0.2d PHP/5.6.14 configured -- resuming normal operations [Sat Mar 31 10:23:27.440571 2018] [mpm_winnt:notice] [pid 5000:tid 476] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 11:37:51 [Sat Mar 31 10:23:27.440571 2018] [core:notice] [pid 5000:tid 476] AH00094: Command line: 'D:\\web\\UPUPW_AP5.6_64\\Apache2\\bin\\httpd.exe -d D:/web/UPUPW_AP5.6_64/Apache2' [Sat Mar 31 10:23:27.440571 2018] [mpm_winnt:notice] [pid 5000:tid 476] AH00418: Parent: Created child process 4052 PHP Warning: PHP Startup: in Unknown on line 0 Sat Mar 31 10:23:28 2018 (4752): Fatal Error Unable to reattach to base address Starting the 'UPUPW_Apache' service The 'UPUPW_Apache' service is running. on line 0 [Sat Mar 31 10:24:24.503071 2018] [mpm_winnt:notice] [pid 3096:tid 476] AH00455: Apache/2.4.17 (Win64) OpenSSL/1.0.2d PHP/5.6.14 configured -- resuming normal operations [Sat Mar 31 10:24:24.503071 2018] [mpm_winnt:notice] [pid 3096:tid 476] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 11:37:51 [Sat Mar 31 10:24:24.503071 2018] [core:notice] [pid 3096:tid 476] AH00094: Command line: 'D:\\web\\UPUPW_AP5.6_64\\Apache2\\bin\\httpd.exe -d D:/web/UPUPW_AP5.6_64/Apache2' [Sat Mar 31 10:24:24.503071 2018] [mpm_winnt:notice] [pid 3096:tid 476] AH00418: Parent: Created child process 3380 PHP Warning: PHP Startup: in Unknown on line 0 Sat Mar 31 10:24:25 2018 (1880): Fatal Error Unable to reattach to base address 正常启动时 如下 // 正常启动时 的流程 Starting the 'UPUPW_Apache' service The 'UPUPW_Apache' service is running. on line 0 [Sat Mar 31 10:30:31.268696 2018] [mpm_winnt:notice] [pid 12:tid 476] AH00455: Apache/2.4.17 (Win64) OpenSSL/1.0.2d PHP/5.6.14 configured -- resuming normal operations [Sat Mar 31 10:30:31.268696 2018] [mpm_winnt:notice] [pid 12:tid 476] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 11:37:51 [Sat Mar 31 10:30:31.268696 2018] [core:notice] [pid 12:tid 476] AH00094: Command line: 'D:\\web\\UPUPW_AP5.6_64\\Apache2\\bin\\httpd.exe -d D:/web/UPUPW_AP5.6_64/Apache2' [Sat Mar 31 10:30:31.268696 2018] [mpm_winnt:notice] [pid 12:tid 476] AH00418: Parent: Created child process 3664 PHP Warning: PHP Startup: in Unknown on line 0 [Sat Mar 31 10:30:31.909321 2018] [mpm_winnt:notice] [pid 3664:tid 380] AH00354: Child: Starting 350 worker threads. httpd.conf 没有做大的修改 只是添加了 ssl 配置 我在网上找了好多方法但都没有用,求指教!!! |
|
沙发#
发布于:2018-04-03 09:57
此处日志错误是 Fatal Error Unable to reattach to base address
解决方法如下: 1、打开PHP5/php.ini 2、查找opcache.fast_shutdown = 1 3、在下面一行新增opcache.mmap_base = 0x20000000 4、保存后回面板rr重启apache服务 |
|