*** Apache で PHP を動かす [#h4722f37]
- PHP5をインストールする
# yum -y install php php-mbstring
DirectoryIndex index.html index.htm index.cgi index.php ←追加
AddType application/x-httpd-php .php ←追加
- apache を再起動
# /etc/init.d/httpd restart
- PHPの動作状況を確認
# echo "<?php phpinfo(); ?>" > /var/www/html/info.php
- ブラウザで確認
http://www.sea-bird.org/info.php