環境
- Mac OSX 10.9
- MAMP 3
- PHP 5.5
Download
http://cakephp.jp/ でダウンロードしたzipファイルを
任意のディレクトリに設置して解凍
cd /yourpath/cakephp-2.4.10/
cacheの書き込み権限を与える
chmod -R 777 app/tmp
Security.salt / Security.cipherSeed
vim app/Config/core.php
Security.salt
# before(default)
Configure::write('Security.salt', 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi');
# after
Configure::write('Security.salt', 'abcd1234qyJfIxfs2guVoUubWwvniR2G0FgaC9mi');
Security.cipherSeed
# before(default)
Configure::write('Security.cipherSeed', '76859309657453542496749683645');
# after
Configure::write('Security.cipherSeed', '12345678657453542496749683645');
database configuration
Your database configuration file is NOT present.
Rename APP/Config/database.php.default to APP/Config/database.php
mv app/Config/database.php.default app/Config/database.php
CakePHP is NOT able to connect to the database.
Database connection "Mysql" is missing, or could not be created.
vim app/Config/database.php