質問: xampp control panelのapacheとmysqlがエラーになっていてskypeなどが入ってないか確認したんですが私のpcには入っていないんです ネットで原因を調べても現状に該当していることがなくて先に進めません 下記がapacheのエラー文章です [Apache] Problem detected! [Apache] Port 80 in use by "Unable to open process" with PID 4! [Apache] Apache WILL NOT start without the configured ports free! [Apache] You need to uninstall/disable/reconfigure the blocking application [Apache] or reconfigure Apache and the Control Panel to listen on a different port [Apache] Attempting to start Apache app... [Apache] Status change detected: running [Apache] Status change detected: stopped [Apache] 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 [mysql] Attempting to start MySQL app... [mysql] Status change detected: running [mysql] Status change detected: stopped [mysql] Error: MySQL shutdown unexpectedly. [mysql] This may be due to a blocked port, missing dependencies, [mysql] improper privileges, a crash, or a shutdown by another method. [mysql] Press the Logs button to view error logs and check [mysql] the Windows Event Viewer for more clues [mysql] If you need more help, copy and post this [mysql] entire log window on the forums 下記がmusqlのエラー文章です [mysql] Error: MySQL shutdown unexpectedly. [mysql] This may be due to a blocked port, missing dependencies, [mysql] improper privileges, a crash, or a shutdown by another method. [mysql] Press the Logs button to view error logs and check [mysql] the Windows Event Viewer for more clues [mysql] If you need more help, copy and post this [mysql] entire log window on the forums
回答: ポートを変えるのが早いと思います。 xamppのコントロールパネルでApacheのconfigの以下の部分を変えてください。 ``` Listen 80 ``` ポートは80のままがいいというのであれば、 xamppのコントロールパネルを管理者権限で実行するとどうでしょうか。 インストールディレクトリにxampp-control.exeがあるかと思います。 それを右クリックで管理者として実行。 大体、C:\xampp\ にインストールされていると思います。