Windows10 Apacheをインストールする
![Windows10 Apacheをインストールする](https://mebee.info/wp-content/uploads/2020/04/image-284.png)
代表的なwebサーバー「Apache」をwindows10にインストールする手順を記述してます。
環境
- OS windows10 pro 64bit
- Apache 2.4.43
Apacheダウンロード
こちらのサイトからダウンロード可能です。
64bit環境なので「 httpd-2.4.43-win64-VS16.zip 」をクリックします。
![](https://mebee.info/wp-content/uploads/2020/04/php-windows10-4.png)
ダウンロードしたzipファイルを解凍します。
![](https://mebee.info/wp-content/uploads/2020/04/image-274.png)
どこでもいいですが、Apache24ファルダをC直下に移動させます。
![](https://mebee.info/wp-content/uploads/2020/04/image-275.png)
Apacheインストール
コマンドプロンプトを管理者として実行します。
![](https://mebee.info/wp-content/uploads/2020/04/image-276.png)
さきほど移動させたApache24フォルダに移動します。
cd C:\Apache24\bin
下記のコマンドでインストールを行います。
httpd.exe -k install
これでエラーでなければインストール完了です。
![](https://mebee.info/wp-content/uploads/2020/04/image-277.png)
Apache起動
「C:\Apache24\bin」フォルダ内の「ApacheMonitor.exe」をダブルクリックします。
![](https://mebee.info/wp-content/uploads/2020/04/image-279.png)
ディスクトップ上の右下のタスクトレイに表示されます。
![](https://mebee.info/wp-content/uploads/2020/04/image-280.png)
右クリックし「Open Apache Monitor」をクリックします。
![](https://mebee.info/wp-content/uploads/2020/04/image-282.png)
「Apache Service Monitor」が起動します。
![](https://mebee.info/wp-content/uploads/2020/04/image-283.png)
「Strat」ボタンをクリックすると起動します。
![](https://mebee.info/wp-content/uploads/2020/04/image-284.png)
ブラウザから http://localhostにアクセスして、下記の画面が表示されれば、正常に起動されています。
![](https://mebee.info/wp-content/uploads/2020/04/image-285.png)
-
前の記事
CentOS8 Apache Cassandraをインストールする 2020.04.17
-
次の記事
Windows10 php7.4をインストールする 2020.04.17
コメントを書く