CakePHP インストール
CakePHPをインストールする
2.6.4 安定版をダウンロードする
インストール
ダウンロードしたファイルを展開し、そのディレクトリをドキュメントルートとして配置したらインストールは完了
tmpディレクトリの所有者変更
app/tmp 内を Webが読み書きできるように、所有者を変更しておく
データベースの設定
app/Config/database.php
public $default = array( 'datasource' => 'Database/Mysql', 'persistent' => false, 'host' => 'localhost', 'login' => 'user', 'password' => 'password', 'database' => 'database_name', 'prefix' => '', //'encoding' => 'utf8', );
この部分を使用するDBに合わせて変更する
Security.salt Security.cipherSeedの変更
app/Config/core.php
/** * A random string used in security hashing methods. */ Configure::write('Security.salt', 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'); /** * A random numeric string (digits only) used to encrypt/decrypt strings. */ Configure::write('Security.cipherSeed', '76859309657453542496749683645');
Security.salt に文字列を、Security.cipherSeed に数字を入れる
デフォルトから変わっていればなんでもOKだと思う