入れてみる
「pukiwikiって今更感があるんじゃね?」的なことで代替案としてWord Pressに挑戦
- Windows Server 2008(64bit)
- Apache2.2はインストール済み
- php5.4.3もインストール済み
MySQLインストール
windowsにMySQLをインストール:wordpressを参考にしてみる。
5.0以上であればOKらしいので5.1.63にする。mysql-5.1.63-winx64.msi
- Standard Configuration
- Install As Windows Serviceチェック!
- Include Bin Directory in Windows PATHチェック!
- Modify Security Settings「パスワード」入れる
C:\Users\Administrator>mysql --version mysql Ver 14.14 Distrib 5.1.63, for Win64 (unknown)
入った。
- MySQL Command Line Client起動、パスワード入力
mysql> create database wordpress; Query OK, 1 row affected (0.02 sec) mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | test | | wordpress | +--------------------+ 4 rows in set (0.01 sec) mysql> grant all privileges on wordpress.* to 'wp_user'@'localhost' identified by 'wp_pass' with grant option;
Wordpress入れてみる
3.3.2をDLして展開する
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs
http://localhost:8000/wordpress/index.php お使いのサーバーの PHP では WordPress に必要な MySQL 拡張を利用できないようです。
;有効化する ;extension=php_mysql.dll ;extension=php_mysqli.dll
Apache2.2の再起動で動くようになった
しかし
Index of /wordpress/wp-admin
かなしい。
httpd.conf
# DirectoryIndex index.html DirectoryIndex index.html index.php
「新しい WordPress サイトへようこそ !」が出たらかインストールは完了したとおもう。