XAMPP Apache起動
XAMPP環境を作ってPHPの勉強をしよう!と、思いエクリプスをダウンロードしました。
が・・・
手順通りに作業してもApacheが起動できない。(´д`lll)
※このエラーが出たら確認です!
Error: Apache shutdown unexpectedly.
[Apache] This may be due to a blocked port, missing dependencies,
[Apache] improper privileges, a crash, or a shutdown by another method.
[Apache] Press the Logs button to view error logs and check
[Apache] the Windows Event Viewer for more clues
[Apache] If you need more help, copy and post this
[Apache] entire log window on the forums
原因を調べたので書きます。
1.XAMPP Controlを管理者権限で起動していなかった
2.IIS(インターネットインフォメーションサービス)が裏で動作していた
XAMPPを起動するときは右クリック→管理者権限で実行をしないとポートやらのアクセスレベルの問題で実行できないらしい。
IISはたまたま前の業務で使用していたため、起動したままでした(笑)
そりゃ、どちらも80番ポート使うもんね・・・