Open httpd-ssl.conf, apache stops!
周宏亮
周宏亮 2018-05-10 12:49:14
0
4
4489

在httpd.conf里边开启#Include conf/extra/httpd-ssl.conf 重启apache就报错 apache日志文件

[Thu May 10 11:53:55.515054 2018] [core:warn] [pid 6988:tid 312] AH00098: pid file D:/software/phpstudy/PHPTutorial/Apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

[Thu May 10 11:53:55.609059 2018] [mpm_winnt:notice] [pid 6988:tid 312] AH00455: Apache/2.4.23 (Win32) OpenSSL/1.0.2j mod_fcgid/2.3.9 configured -- resuming normal operations

[Thu May 10 11:53:55.609059 2018] [mpm_winnt:notice] [pid 6988:tid 312] AH00456: Server built: Jul  1 2016 16:42:20

[Thu May 10 11:53:55.609059 2018] [core:notice] [pid 6988:tid 312] AH00094: Command line: 'D:\\software\\phpstudy\\PHPTutorial\\Apache\\bin\\httpd.exe -d D:/software/phpstudy/PHPTutorial/Apache'

[Thu May 10 11:53:55.611059 2018] [mpm_winnt:notice] [pid 6988:tid 312] AH00418: Parent: Created child process 7948

[Thu May 10 11:53:56.432106 2018] [mpm_winnt:notice] [pid 7948:tid 328] AH00354: Child: Starting 150 worker threads.

[Thu May 10 12:48:20.615807 2018] [mpm_winnt:crit] [pid 7948:tid 328] AH02538: Child: Parent process exited abruptly. Child process is ending


周宏亮
周宏亮

reply all(3)
a游侠儿.evil

Secondly, you can install VMware. VMware occupies port 443. Here is a tutorial on disabling it https://blog.csdn.net/bwlab/article/details/46953569

a游侠儿.evil


phpStudy 不要安装在c盘!!!!

httpd-ssl.conf 示例:

Listen 443
SSLPassPhraseDialog  builtin
SSLSessionCache        "shmcb:logs/ssl_scache(512000)"
SSLSessionCacheTimeout  300

<VirtualHost _default_:443>


#   General setup for the virtual host

DocumentRoot "e:/www/mysite"  # 改
ServerName www.mysite.com:443  #改 
 ServerAdmin admin@example.com

SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile "conf/ssl/mysite_server.crt"  #改
SSLCertificateKeyFile "conf/ssl/mysite_server.key"  #改

<FilesMatch "\.(cgi|shtml|phtml|php)$">

    SSLOptions +StdEnvVars

</FilesMatch>

<Directory "D:/phpStudy/PHPTutorial/Apache/cgi-bin">
    SSLOptions +StdEnvVars
</Directory>

BrowserMatch ".*MSIE.*" \

         nokeepalive ssl-unclean-shutdown \

         downgrade-1.0 force-response-1.0


#   Per-Server Logging:

#   The home of a custom SSL log file. Use this when you want a

#   compact non-error SSL logfile on a virtual host basis.

CustomLog "D:/phpStudy/PHPTutorial/Apache/logs/ssl_request.log" \   #改

          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"


</VirtualHost>                                  


嗨儿卷卷菲司圆圆

Has the problem been solved? How to solve it? I also encountered the same problem and Baidu couldn't solve it for a day. .

  • reply No, you don’t need to build the environment yourself with phpstudy. Just got it done.
    周宏亮 author 2018-07-01 15:09:54
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!