<!-- Easy AdSense V2.80 -->
<!-- Post[count: 2] -->
Getting CakePHP to play nice with PHP 5.3 on Mac OS X 10.6 Snow Leopard is as easy as downloading CakePHP 1.3 and editing the app/config/core.php file. Ok, so you’ll also have to edit the php.ini file located in /private/etc/ on your Mac too.
First off, download CakePHP 1.3-dev (not to be confused with Cake3):
http://cakeforge.org/projects/cakephp or here
Open php.ini and add your timezone. PHP Timezones can be found here.
(On Mac OS X Snow Leopard it’s located at /private/etc/php.ini)
[Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone = America/Los_Angeles
Open /app/config/core.php in your CakePHP installation and uncomment this line:
(This will get rid of all of those pesky strtotime() errors)
/** * If you are on PHP 5.3 uncomment this line and correct your server timezone * to fix the date & time related errors. */ date_default_timezone_set('UTC');
Restart Apache and you should be good to go!