Öffnen Sie httpd-ssl.conf, Apache stoppt!
周宏亮
周宏亮 2018-05-10 12:49:14
0
4
4468

在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

周宏亮
周宏亮

Antworte allen(3)
a游侠儿.evil

其次是你可以安装了VMware,VMware占用了443端口,这里禁用教程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>                                  


嗨儿卷卷菲司圆圆

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

  • Antwort 并没有,不用phpstudy自己建环境。才搞定。
    周宏亮 Autor 2018-07-01 15:09:54
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!