XAMPPのコントロールパネル上でApacheを起動しようとしましたが、下記のエラーが出て起動せず困っています。起動するのにクリックした「Start」ボタンも「Stop」に変わってまた「Start」に戻ってしまいます。
11:07:14 [Apache] Attempting to start Apache app...
11:07:14 [Apache] Status change detected: running
11:07:16 [Apache] Status change detected: stopped
11:07:16 [Apache] Error: Apache shutdown unexpectedly.
11:07:16 [Apache] **This may be due to a blocked port, missing dependencies, **
11:07:16 [Apache] improper privileges, a crash, or a shutdown by another method.
11:07:16 [Apache] Press the Logs button to view error logs and check
11:07:16 [Apache] the Windows Event Viewer for more clues
11:07:16 [Apache] If you need more help, copy and post this
11:07:16 [Apache] entire log window on the forums
※太字がエラー内容です。
下記のURLのサイトを参考に操作を行いました。
https://blog.senseshare.jp/xampp-apache-trouble.html
まず原因の1つとしてApacheの使用する80番ポート及び443番ポートが他のソフトに使用されている可能性がありますが、XAMPPウィンドウ内の「Netstat」を開いて確認しても問題はありませんでした。
次にApacheの横にある「Logs」ボタンをクリックしてログファイル「Apache(error.log)」を開いてみました。
設定ファイル(httpd.conf)に記述ミス等がある場合、エラーの詳細が書かれている可能性が高いとの事ですが、実際に表示された内容は以下の通りで詳細がよくわかりません。
結局Apacheが起動出来ない原因が何なのか分からないので、Apacheについて詳しい方はご回答を頂けると助かります。
因みに使用しているPCはWindows10、XAMPPはv3.2.4です。

回答1件
あなたの回答
tips
プレビュー