Heim  >  Fragen und Antworten  >  Hauptteil

Öffnen Sie httpd-ssl.conf, Apache stoppt!

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

[Do, 10. Mai 11:53:55.515054 2018] [core:warn] [pid. 698 8:tid 312] AH00098: PID-Datei D:/software/phpstudy/PHPTutorial/Apache/logs/httpd.pid überschrieben – Unsauberes Herunterfahren des vorherigen Apache-Laufs? 6988:tid 312] AH00455: Apache/2.4.23 (Win32) OpenSSL/1.0.2j mod_fcgid/2.3.9 konfiguriert – Normalbetrieb wird wieder aufgenommen

[Do, 10. Mai 11:53:55.609059 2018] [mpm_winnt:notice] [ pid 6988:tid 312] AH00456: Server erstellt: 1. Juli 2016 16:42:20

[Do, 10. Mai 11:53:55.609059 2018] [core:notice] [pid 6988:tid 312] AH00094: Befehlszeile: ' D:\software\phpstudy\PHPTutorial\Apache\bin\httpd.exe -d D:/software/phpstudy/PHPTutorial/Apache'

[Do. 10. Mai 11:53:55.611059 2018] [mpm_winnt:notice] [pid 6988 :tid 312] AH00418: Übergeordneter Prozess: Untergeordneter Prozess 7948 erstellt 10. Mai 12:48:20.615807 2018] [mpm_winnt:crit] [pid 7948:tid 328] AH02538: Untergeordneter Prozess: Übergeordneter Prozess wurde abrupt beendet. Der untergeordnete Prozess endet

周宏亮周宏亮2324 Tage vor4475

Antworte allen(4)Ich werde antworten

  • a游侠儿.evil

    a游侠儿.evil2018-06-05 04:14:29

    其次是你可以安装了VMware,VMware占用了443端口,这里禁用教程https://blog.csdn.net/bwlab/article/details/46953569

    Antwort
    0
  • a游侠儿.evil

    a游侠儿.evil2018-06-05 02:25:40


    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>                                  


    Antwort
    0
  • 嗨儿卷卷菲司圆圆

    嗨儿卷卷菲司圆圆2018-05-13 15:36:18

    问题解决了吗?怎么解决的?我也遇到了同样的问题百度了一天都没解决。。

    Antwort
    0
  • 周宏亮

    并没有,不用phpstudy自己建环境。才搞定。

    周宏亮 · 2018-07-01 15:09:54
  • StornierenAntwort