CakePHPを使ってデータベースを作りたい(その3)CakePHPの設定へ

CakePHPのWebサイト(http://cakephp.jp/このエントリーを含むはてなブックマーク)へ行く。
cakephp-cakephp-1.3.6-0-g4c33375.zipをダウンロード。

ダウンロードした圧縮ファイルを展開。

作成されたcakephp-cakephp-f6748d4というフォルダを切り取り、C:\xampp\htdocs配下に貼り付け、cake-sampleに名前変更する。


XAMPPコンパネでApacheを起動させてから、http://localhost/cake-sampleにアクセスしてみる。

CakePHPのデフォルトページが表示されたが、5つの警告メッセージのようなものが表示されている。

(1)Notice (1024): Please change the value of 'Security.salt' in app/config/core.php to a salt value specific to your application [CORE\cake\libs\debugger.php, line 684]
(2)Notice (1024): Please change the value of 'Security.cipherSeed' in app/config/core.php to a numeric (digits only) seed value specific to your application [CORE\cake\libs\debugger.php, line 688]
(3)Your tmp directory is writable.
(4)The FileEngine is being used for caching. To change the config edit APP/config/core.php
(5)Your database configuration file is NOT present. Rename config/database.php.default to config/database.php


とりあえずググる
背景が黄色のメッセージ(1,2,5番)→警告メッセージ
背景が緑色のメッセージ(3,4番)→ただの情報通知メッセージ
のようだ。だから緑の方は対処不要。


やばい。もう面倒くさくなってきた。。
とりあえず今回はここまで。


以下は、おそらく次回でやる「ランダム文字列作成」のためのWebサイト。
Nippon Kaisho システムツール [ ランダムな文字列作成 ]このエントリーを含むはてなブックマーク


あと、今はローカルで環境を作っているが、本来はさくらインターネットにアップロードするべきところのはず。そのへんも次回以降で整理したい。