Home > Apache > | MySQL > | PHP > | Windows 7 > Windows 7 + Apache 2.2 + PHP 5.2

Windows 7 + Apache 2.2 + PHP 5.2

Apache 2.2

http://archive.apache.org/dist/httpd/binaries/win32/
から
httpd-2.2.15-win32-x86-openssl-0.9.8m-r2.msi
をダウンロードしてインストール。

インストール途中の項目は、下記のように設定しておいた。

Network Domain: localhost
Server Name: localhost
Administrator's Email: 適当なメールアドレス
for All Users, on Port 80

インストールフォルダは、下記のように設定。

C:\Apache2.2\

ここで、私の場合 Windows 7 で80番ポートが使用されており、Apacheを起動できなかった。
以下のコマンドで確認できた。

C:\Users\hogehoge>netstat -aon | findstr 0.0.0.0:80

つぎに以下のコマンドで上記 PID と照らし合わせてサービスを終了させる。

C:\Users\hogehoge>tasklist

私の場合は、Skypeが犯人だったのでランダムポートに設定してSkypeを再起動した。

PHP 5.2をダウンロード。

http://windows.php.net/download/#php-5.2-ts-VC6-x86

ダウンロードしたzipファイルを解凍。
私は下記ディレクトリへ解凍しました。

D:\php

その後、「php.ini-dist」を「C:\WINDOWS」のへコピーし、名前を「php.ini」に変更。

MySQL 5.5をダウンロード。

http://sourceforge.jp/projects/sfnet_mysql.mirror/downloads/mysql-5.5.22-win32.msi/

設定などは下記を参照下さい。

http://awoni.net/personal-site/mysql/

参考リンク
http://ameblo.jp/shiroharakuina/entry-10406305652.html
http://www.cyberarchitect.net/blog/archives/992
http://dai-u-chu.sblo.jp/article/48392584.html
http://windows.php.net/download/
http://www.webdlab.com/guide/php/php_2.php
http://sourceforge.jp/projects/sfnet_mysql.mirror/downloads/mysql-5.5.22-win32.msi/

Comments:0

Comment Form

Trackbacks:0

TrackBack URL for this entry
https://www.fya.jp/cgi-bin/mt/mt-tb.cgi/124
Listed below are links to weblogs that reference
Windows 7 + Apache 2.2 + PHP 5.2 from Minase's Blog - FYA

Home > Apache > | MySQL > | PHP > | Windows 7 > Windows 7 + Apache 2.2 + PHP 5.2

Search
Feeds

Return to page top