apache24を削除する方法

このQ&Aのポイント
  • 初心者向けのapache24の削除方法を紹介します。
  • XAMMPのエラーを解決するためにapache24を削除する方法について説明します。
  • apache24をインストールした後にXAMMPをインストールした場合、apache24を削除する必要がある場合があります。
回答を見る
  • ベストアンサー

apache24を削除する方法が知りたいです。

色々と勉強中の初心者ですがよろしくお願いします。 windows8.1の64bitのPCに wordpressのテスト環境をつくるため apache24をインストールした後 XAMMPをインストールしました。 XAMMPをインストールすれば apache24をインストール必要がないことを後で知り apache24を削除しようとしているのですが 削除出来ない現状です。 対処方を教えていただけないでしょうか? 以下、XAMMPのエラー内容です。 ご参考までに・・・ 18:34:05 [main] Initializing Control Panel 18:34:05 [main] Windows Version: Windows 8.1 64-bit 18:34:05 [main] XAMPP Version: 5.6.15 18:34:05 [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ] 18:34:05 [main] Running with Administrator rights - good! 18:34:05 [main] XAMPP Installation Directory: "c:\xampp\" 18:34:05 [main] Checking for prerequisites 18:34:54 [main] All prerequisites found 18:34:54 [main] Initializing Modules 18:34:55 [Apache] Apache Service detected with wrong path 18:34:55 [Apache] Change XAMPP Apache and Control Panel settings or 18:34:55 [Apache] Uninstall/disable the other service manually first 18:34:55 [Apache] Found Path: "C:\Apache24\bin\httpd.exe" -k runservice 18:34:55 [Apache] Expected Path: "c:\xampp\apache\bin\httpd.exe" -k runservice 18:34:55 [Apache] Problem detected! 18:34:55 [Apache] Port 80 in use by ""C:\Apache24\bin\httpd.exe" -k runservice" with PID 1468! 18:34:55 [Apache] Apache WILL NOT start without the configured ports free! 18:34:55 [Apache] You need to uninstall/disable/reconfigure the blocking application 18:34:55 [Apache] or reconfigure Apache and the Control Panel to listen on a different port 18:34:55 [main] The FileZilla module is disabled 18:34:55 [main] The Mercury module is disabled 18:34:55 [main] The Tomcat module is disabled 18:34:55 [main] Starting Check-Timer 18:34:55 [main] Control Panel Ready 以上です。 みなさま、何卒よろしくお願いいたします。

  • PHP
  • 回答数2
  • ありがとう数4

質問者が選んだベストアンサー

  • ベストアンサー
  • h271015
  • ベストアンサー率71% (62/87)
回答No.2

エラーログからは、単体でインストールされたApacheが起動しているために、XAMPP のApacheが起動できないように見えます。 まずは単体でインストールされたApacheを停止すれば、XAMPP のApacheも起動できるようになると思います。 停止方法についてはNo1の補足コメントに記載いただいているURLのページ下のほうを参照いただければ良いと思います。 アンインストールについてですが、[コントロール パネル]->[プログラム]->[プログラムのアンインストール]と遷移し、その画面で、インストールされたApacheが表示されていないでしょうか? 表示されていればそこでアンインストールを実行できると思います。

re9uhey
質問者

お礼

アンインストールは、[コントロール パネル]->[プログラム]->[プログラムのアンインストール]と遷移しましたが、その画面ではApacheが表示されていませんでした。 なので、補足コメントのURLを参照し、Apacheを停止すると XAMMPのエラーは解決出来ました。 的確なアドバイスに大変感謝してます。 本当にありがとうございました。

その他の回答 (1)

  • notnot
  • ベストアンサー率47% (4846/10257)
回答No.1

> apache24をインストールした後 どうやってインストールしたのですか?

re9uhey
質問者

補足

下記URLを参考に インストールしました。 http://techacademy.jp/magazine/1846 何卒よろしくお願いいたします。

関連するQ&A

  • [Apache]の項目だけが赤文字です。

    XAMPP Control Panel v3.2.1ですが  気になることがあります。  以下[Apache]の項目だけが赤文字です。  これって何か”ヤバイ”ことなのでしょうか!!??  よろしくお願いします。 5:17:14 [main] Initializing Control Panel 5:17:14 [main] Windows Version: Windows 7 Ultimate SP1 64-bit 5:17:14 [main] XAMPP Version: 1.8.2 5:17:14 [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ] 5:17:14 [main] Running with Administrator rights - good! 5:17:14 [main] XAMPP Installation Directory: "c:\xampp\" 5:17:14 [main] Checking for prerequisites 5:17:14 [main] All prerequisites found 5:17:14 [main] Initializing Modules 5:17:14 [Apache] Apache Service detected with wrong path 5:17:14 [Apache] Change XAMPP Apache and Control Panel settings or 5:17:14 [Apache] Uninstall/disable the other service manually first 5:17:14 [Apache] Found Path: "c:\Apache24\bin\httpd.exe" -k runservice 5:17:14 [Apache] Expected Path: "c:\xampp\apache\bin\httpd.exe" -k runservice 5:17:14 [Apache] Problem detected! 5:17:14 [Apache] Port 80 in use by ""c:\xampp\apache\bin\httpd.exe" -k runservice" with PID 2636! 5:17:14 [Apache] Apache WILL NOT start without the configured ports free! 5:17:14 [Apache] You need to uninstall/disable/reconfigure the blocking application 5:17:14 [Apache] or reconfigure Apache and the Control Panel to listen on a different port 5:17:14 [Apache] Problem detected! 5:17:14 [Apache] Port 443 in use by ""c:\xampp\apache\bin\httpd.exe" -k runservice" with PID 2636! 5:17:14 [Apache] Apache WILL NOT start without the configured ports free! 5:17:14 [Apache] You need to uninstall/disable/reconfigure the blocking application 5:17:14 [Apache] or reconfigure Apache and the Control Panel to listen on a different port 5:17:14 [mysql] XAMPP MySQL is already running on port 3306 5:17:14 [main] Starting Check-Timer 5:17:14 [main] Control Panel Ready

    • ベストアンサー
    • MySQL
  • [Apache]の項目だけが赤文字です。

    http://okwave.jp/qa/q8247435.html  以上のトラブルの経緯がありまして・・ 次に出たのが以下のエラーです。 XAMPP Control Panel v3.2.1ですが  気になることがあります。  以下[Apache]の項目のほとんどが赤文字です。  これって何か”ヤバイ”ことなのでしょうか!!??  よろしくお願いします。 3:32:31 [main] Initializing Control Panel 3:32:31 [main] Windows Version: Windows 7 Ultimate SP1 64-bit 3:32:31 [main] XAMPP Version: 1.8.2 3:32:31 [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ] 3:32:31 [main] Running with Administrator rights - good! 3:32:31 [main] XAMPP Installation Directory: "c:\xampp\" 3:32:31 [main] Checking for prerequisites 3:32:59 [main] All prerequisites found 3:32:59 [main] Initializing Modules 3:32:59 [Apache] Problem detected! 3:32:59 [Apache] Port 80 in use by ""c:\xampp\apache\bin\httpd.exe" -k runservice" with PID 1108! 3:32:59 [Apache] Apache WILL NOT start without the configured ports free! 3:32:59 [Apache] You need to uninstall/disable/reconfigure the blocking application 3:32:59 [Apache] or reconfigure Apache and the Control Panel to listen on a different port 3:32:59 [Apache] Problem detected! 3:32:59 [Apache] Port 443 in use by ""c:\xampp\apache\bin\httpd.exe" -k runservice" with PID 1108! 3:32:59 [Apache] Apache WILL NOT start without the configured ports free! 3:32:59 [Apache] You need to uninstall/disable/reconfigure the blocking application 3:32:59 [Apache] or reconfigure Apache and the Control Panel to listen on a different port 3:32:59 [mysql] XAMPP MySQL Service is already running on port 3306 3:32:59 [main] Starting Check-Timer 3:32:59 [main] Control Panel Ready 3:33:10 [Apache] Installing service... 3:33:14 [Apache] Problem detected! 3:33:14 [Apache] Port 80 in use by ""c:\xampp\apache\bin\httpd.exe" -k runservice" with PID 1108! 3:33:14 [Apache] Apache WILL NOT start without the configured ports free! 3:33:14 [Apache] You need to uninstall/disable/reconfigure the blocking application 3:33:14 [Apache] or reconfigure Apache and the Control Panel to listen on a different port 3:33:14 [Apache] Problem detected! 3:33:14 [Apache] Port 443 in use by ""c:\xampp\apache\bin\httpd.exe" -k runservice" with PID 1108! 3:33:14 [Apache] Apache WILL NOT start without the configured ports free! 3:33:14 [Apache] You need to uninstall/disable/reconfigure the blocking application 3:33:14 [Apache] or reconfigure Apache and the Control Panel to listen on a different port 3:33:14 [Apache] Attempting to start Apache app... 3:33:26 [Apache] Installing service... 3:33:27 [Apache] Successful! 3:33:27 [Apache] Successful! 3:33:28 [Apache] Status change detected: running

    • ベストアンサー
    • MySQL
  • XAMMPインストール MariaDB対応について

    カテゴリーがここで合っているのかわかりませんが みなさま何卒よろしくお願いいたします。 下記URLで質問させていただきました者です。 http://okwave.jp/qa/q9109793.html XAMPPは無事インストール出来たみたいです(^_^;) その後の設定を下記URLを参考に進めましたが http://techacademy.jp/magazine/2941 URL欄に「http://localhost」と入力しても 言語選択のページは表示されず 「Apache Friends」のページが表示されます。 色々と調べた結果 XAMPPがMySQLからMariaDBに乗り換えたことが 原因のようですが 解決策がわからず苦戦しています。 解決策を教えて頂けると幸いです。 みなさま、何卒よろしくお願いいたします。 ちなみに、XAMPPでは このように表示されています。 ご参考までに・・・ 18:40:32 [main] Initializing Control Panel 18:40:32 [main] Windows Version: Windows 8.1 64-bit 18:40:32 [main] XAMPP Version: 5.6.15 18:40:32 [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ] 18:40:32 [main] Running with Administrator rights - good! 18:40:32 [main] XAMPP Installation Directory: "c:\xampp\" 18:40:32 [main] Checking for prerequisites 18:40:37 [main] All prerequisites found 18:40:37 [main] Initializing Modules 18:40:37 [Apache] XAMPP Apache Service is already running on port 80 18:40:37 [Apache] XAMPP Apache Service is already running on port 443 18:40:37 [mysql] XAMPP MySQL Service is already running on port 3306 18:40:37 [main] The FileZilla module is disabled 18:40:37 [main] The Mercury module is disabled 18:40:37 [main] The Tomcat module is disabled 18:40:37 [main] Starting Check-Timer 18:40:37 [main] Control Panel Ready 以上です。 みなさま、何卒よろしくお願いいたします。

    • ベストアンサー
    • MySQL
  • Apache+PHPで動かない・・・

    phpを初めて約三ヶ月、開発環境の整備はXAMPPに丸投げにしていたのですが、「勉強の為にもApacheなどを手入れして行ったほうが良い」 と言われ、挑戦してみた者です。 環境は、WindowsXPです。 どうやらApacheの設定から言って、おかしいようなのです。 C:/apache/にインストールしたのですが、 コントロールパネル→管理ツール→サービスで確認してみると、C:/bin/httpd.exe で実行されるのです。 C:/apache/bin/httpd.exeで実行されないとおかしい気もするのですが・・・ それで、C:/にapacheの同梱フォルダを全てコピーし、設置したところ、動きました。 しかし、「サービス」はC:/bin/httpd.exeで実行されているのに、htdocsなどはC:/apache/で実行されているらしいのです。 Apacheの設定自体がわかりません。従ってPHPの設定もできません。 ApacheとPHPの導入に関しては、http://buzzword.jp/index.html とマニュアルを参考にしました。 やはり初心者はXAMPPで一括導入しておけよと言うことなのでしょうか・・・ 散乱文ですが、回答のほどよろしくお願いします。

  • Apacheが起動しない

    XAMPPをインストールし、XAMPP Control PanelからApacheを起動しようとしましたができません。 参考書には、  (1)IISが起動していては、Apacheは起動しない。  (2)既に単体でApacheがインストールされていると起動しない。 とあり、(1)についてはIISを停止、(2)は既存ではインストールされていません。 他に考えられることはあるのでしょうか? どなたかよろしくお願いします。 インストールは、 xampp-win32-1.7.2.exe(自己解凍型アーカイブ)です。

    • ベストアンサー
    • PHP
  • 「XAMPP1.71」apacheが起動しない

    「XAMPP1.71」apache起動不具合について教えてください。 ▼インストール直後 apacheは正常に開始でき、Admin画面も確認出来た。 ▼xampp-control.exeからapache停止ボタンを一度でもクリックすると その後、apacheが二度と起動しなくなります。(起動せずAdminボタンを押せない状態) ※何度かXAMPP自体の再インストールを試みたのですが、ほぼ同じ症状でした。 環境等 ・WindowsXP ・XAMPP1.71 ■下記サイトを参考にしているのですが、うまくいきません。 XAMPPでApachが起動しない場合のわりと汎用的な調査・解決方法まとめ http://www.vippers.net/blog/2009/04/xamppapach.html □1)Apachの強制起動 ・/xampp/apache_start.batを実行すると、下記エラーとなります。 (OS 10048)通常、各ソケット アドレスに対してプロトコル、ネットワーク アドレス、またはポートのどれか 1 つのみを使用できます。 : make_sock: could not bind to address 0.0.0.0:80 □2)ポート80を使っているプロセスの特定 ・netstat -oan TCP 0.0.0.0:80 0.0.0.0:0  LISTENING 5172 □3)ポート80を使っているプロセスからアプリケーション名の特定 httpd.exe □4)ポート80を使用しているアプリケーションの停止 サービス画面より、下記アプリケーションがあやしいと思っているのですが、これを停止すればよいのでしょうか? また、停止するには、どうすればよいのでしょうか? Apache2.2の実行パス、"C:\dev\xampp\apache\bin\httpd.exe" -k runservice

    • ベストアンサー
    • PHP
  • XAMMP APACHE でhttp://localhost/が表示さ

    XAMMP APACHE でhttp://localhost/が表示されないで困っています。 XAMMPを起動し、APACHEを開始(起動)をクリックしたのち、 http://localhost/ をインターネットエクスプローラーで表示しようとしたら、 「Internet Explorer ではこのページは表示できません」 というメッセージが出ます。 これは、どこか設定を間違っているのでしょうか? xamppはドキュメントフォルダ内のxamppというフォルダにインストールされています。 (本の付録のxampp-win32-1.6.6a-installer.exeというファイルからインストールしました。) xamppコントロールパネルアプリケーションの中の設定を押すと、 MySqlにチェックが入っている状態です。 ●●\Documents\xampp\service.exe apacheというの文字がその下に書いてあります。

    • ベストアンサー
    • PHP
  • xampp lite の apache が起動しません

    USBメモリにxampp liteを入れたんですが、apacheが起動しません。Mysqlはちゃんと動きます。 port80はちゃんとfreeになってます。 「xampp start」を押すと、 「Syntax error on line 476 of C:/xampplite/apache/conf/httpd.conf」 ↑ 中身は「Include conf/extra/httpd-xampp.conf」 「Syntax error on line 7 of C:/xampplite/apache/conf/extra/httpd-xampp.conf」 ↑ 中身は「LoadModule php5_module "C:/xampplite/apache/bin/php5apache2_2.dll"」 「Cannot load C:/xampplite/apache/bin/php5apache2_2.dll into server」 でこうなるわけです。 ちなみにxampp lite ではなく xampp は動くのか?とおもいxamppインストールしてみたらちゃんとapache動きました。で、そのあとxamppアンインストールしてからもう一度 xampp lite で 「xampp start」 やりましたがダメです。mysqlしか動きません。 コントロールパネルから Start を押すと 「Apache Started [Port 80]」 って出るんですが、「Running」の表示が出ません。で、もちろん起動もしていないです。 * Skypeなどは使用しておりません。「Active Ports」やxampp portcheckで調べましたがport80はfreeです。 http://www.altech-ads.com/category3/10000237_1_0.htm * PCは2000とXP両方試しました。 * logファイルは空っぽでエラーログなどはでてません。

    • 締切済み
    • PHP
  • XAMPP未だ起動せず 嗚呼何時の日ゾ

    はじめまして、私のパソコンのOSはWindows7です、ドライブをC,D,Fの3 分割で使っています。 XAMPPのインストールに失敗ばかりで、今まで4回ほど試みたのですが1回も成功 した事がありません。 今回はEドライブにインストールして、直ぐにXAMPP Control Panelを立ち上げる と、パネルの後半部分に  [apache] Apache Service Detected With Wrong Path [apache] Uninstall the service manually first [mysql] MySQL Service Detected With Wrong Path [mysql] Uninstall the service manually first と、エラーメッセージのような内容が赤文字で記述されています。 さらに!コントロールパネル→管理ツール→サービスを開いてみると、 【Apache2.4]の名前がはっきり載っています、 これをダブルクリックしてプロパティを開いてみると、パネルの中央付近(【説 明】と【スタートアップの種類(E)】とのあいだの所)に……、   実行ファイルのパス:  "d:\xampp\apache\bin\httpd.exe" -k runservice と記載されてあるのです??。 インストール先はEドライブなのに、なぜ "d:\xampp\apache….exe"と 記載されているのか分かりません。 更に!更に! mysqlの名前を見つけて、ダブルクリックしてプロパティを開いてみ ると、実行ファイルのパス:の下に(ダブルクォテーション""こそファイルの前 と後ろにないのですが…)  C:\xampp\mysql\bin\mysqld.exe --defaults-file=C:\xampp\mysql\bin \my.ini mysql と記載されてあるのです??。 また、別の現象?として…、私のパソコンのデスクトップに表示してある「エキ サイト翻訳」と「英和辞典Weblio辞書」のアイコンをクリックすると、(今まで は一発クリックで開けたのですが…  【このインターネットショートカットを開けません。プロトコル"http"には登   録されたプログラムがありません。】 と言うエラーメッセージがXAMPPをEドライブにインストールした後から表示され るようになったのですが……、 XAMPPのバージョンは XAMPP-win32-1.8.0-VC9-installer.exe •Apache 2.4.2 •MySQL 5.5.25a •PHP 5.4.4 •phpMyAdmin 3.5.2 •FileZilla FTP Server 0.9.41 •Tomcat 7.0.28 (with mod_proxy_ajp as connector) •Strawberry Perl 5.16.0.1 Portable •XAMPP Control Panel 3.0.12 (from hackattack142)  現在のXAMPP Control Panel v3.0.12 の状況は     Servics    Apache MySQL共にチェックマークがあります。 Module    MySQLのみ、薄い緑色のバックグラウンドカラーガある PID(s) Apache 記入なし MySQL  2084 Port(s) Apache 記入なし MySQL 3306   actionボタンは, Apache MySQLいずれも何回押してもまったく反応なし! 尚、上記の状況で、サービスのMySQLのプロパティを開いて、サービスの状態の 【開始(s)】をクリックすると、     ローカルコンピューターのmysqlサービスを開始できません。 エラー2:指定されたファイルが見つかりません。  とエラーメッセージが表示されます。  どなたか?このような状況の私のパソコンにXAMPPをインストールする方 法をお教えください。よろしくお願いします。

  • Apacheの起動ができません。助けてください。

    Apacheの起動ができません。助けてください。kikuaki812001さん Apacheの起動ができません。助けてください。 PHPを独学で勉強しようとしている初心者です。 環境構築でつまずいております。 Apache HTTP Server 2.2.18(最新版)をダウンロードして、http://localhost/を入れると、 Internet Explorer ではこのページは表示できません、と表示され Apacheが起動できません。 おそらくポート80が開放されていないかと思ったので、コマンドプロントプルで検索しました。 すると、httpd.exeで使用?されているとわかりましたが、ここからどうすればいいのでしょうか? タスクマネージャにて、プロセスを開き、httpd.exeをチェックして、 プロセスの終了をしてもいつの間にか、httpd.exeが出ております。 どうすればポート80は開かれるのでしょうか、教えてください。 ※skypeのポート80は、外しおります。 OSの再インストールもしました。 xamppの再インストールも行いました。 issは入っておりません。 (コンピュータの管理にもはいっておりません。) http://127.0.0.1/でも繋がりません。 PCの情報です Microsoft Windows XP Professional Version2002 Service Pack 2 よろしくお願いします。

    • ベストアンサー
    • PHP

専門家に質問してみよう