在httpd.conf裡邊開啟#Ininclude conf/extra/httpd-ssl.conf 重啟apache就報(bào)錯(cuò)apache日誌檔
[Thu May 10 11:53:55.515054 2018] [core:warn] [ pid 6988:tid 312] AH00098: pid 檔案D:/software/phpstudy/PHPTutorial/Apache/logs/httpd.pid 被覆蓋-- 之前Apache 運(yùn)行的不乾淨(jìng)關(guān)閉?
[5 月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. #[週四五月10 11:53:55.609059 2018] [mpm_winnt:notice] [pid 6988:tid 312] AH00456:伺服器建置:2016 年7 月1 日16:42:20
[2018年5 月10 日星期四11:53:55.609059] [核心:通知] [pid 6988:tid 312] AH00094:命令列:'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] 00418:AH0041子程序7948
[Thu May 10 11:53:56.432106 2018] [mpm_winnt:notice] [pid 7948:tid 328] AH00354: Child: 啟動150 個(gè)工作線程。##年5 月10 日星期四12:48:20.615807 2018] [mpm_winnt:crit] [pid 7948:tid 328] AH02538:子進(jìn)程:父進(jìn)程突然退出。子進(jìn)程正在結(jié)束
其次是你可以安裝了VMware,VMware佔(zhàn)用了443端口,這裡禁用教程https://blog.csdn.net/bwlab/article/details/46953569
phpStudy 不要安裝在c碟! Listen 443
SSLPassPhraseDialog? 內(nèi)建SSLSessionCache? ? ? ? "shmcb:logs/ssl_scache(512000)"
SSLSessionCacheTimeout? 300#4##;; 虛擬主機(jī)的常規(guī)設(shè)定
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
SSLCertificateKeyFile "conf/ssl/mysite_server.key"? #改
? ? SSLOptions +StdEnvVars
BrowserMatch ".*MSIE.*" \
##? ? ? ? ?nokeepalive ssl- unclean-shutdown \## ?1.0force-response-1.0
每伺服器日誌記錄:
## 的主頁自訂 SSL 日誌檔案。當(dāng)您想要在虛擬主機(jī)上取得緊湊的無錯(cuò)誤 SSL 日誌檔案時(shí),請使用此選項(xiàng)。
##? ? ? ? ? "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
#? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
問題解決了嗎?怎麼解決的?我也遇到了同樣的問題百度了一天都沒解決。 。