在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 ファイル D:/software/phpstudy/PHPTutorial/Apache/logs/httpd.pid が上書きされました -- 以前の Apache 実行の不クリーンなシャットダウン?
[木 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.9 が構(gòu)成されました -- 通常の操作を再開します
#[5 月木曜日] 10 11:53:55.609059 2018] [mpm_winnt:notice] [pid 6988:tid 312] AH00456: サーバー構(gòu)築: Jul 1 2016 16:42:20[Thu May 10 11:53:55.609059 2018] [core:notice] [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] AH00418: 親: 子プロセス 7948[Thu May 10 11:53:56.432106 2018] [mpm_winnt:notice] [pid 7948:tid 328] AH00354: 子: 150 ワーカー スレッドを開始しています。[Thu May 10 12:48:20.615807 2018] [mpm_winnt:crit] [pid 7948:tid 328] AH02538: 子: 親プロセスが突然終了しました。子プロセスが終了中です
2 番目に、VMware をインストールできます。VMware はポート 443 を占有します。これを無効にするチュートリアルはこちらです https://blog.csdn.net/bwlab/article/details/46953569
phpStudy不要インストール在c盤?。。?!
httpd-ssl.conf例:Listen 443
SSLPassPhraseDialogbuiltin
SSLSessionCache "shmcb:logs/s sl_scache(512000)"
SSLSessionCacheTimeout 300
mysite" # 変更ServerName
www.mysite.com:443 #変更 ServerAdmin admin@example.com
SSLCertificateFile "conf/ssl/mysite_server. crt" #改
SSLCertificateKeyFile "conf/ssl/mysite_server.key" #改
<FilesMatch ".(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</ディレクトリ>
BrowserMatch ".*MSIE.*"
downgrade-1.0 Force-response-1.0
# サーバーごとのログ:
</VirtualHost>? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
問題は解決しましたか?どうすれば解決できますか? 私も同じ問題に遭遇しましたが、Baidu では 1 日解決できませんでした。 。