The first thing you do, after cakephp has been installed into your system, is to verify that it is working, pointing your browser to 127.0.0.1/<yourapp>.

Also if cakephp is working, you could see some warnings on your browser, warnings like the following:


Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in/var/www/blog/lib/Cake/Cache/CacheEngine.php on line 60


Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in/var/www/blog/lib/Cake/Cache/CacheEngine.php on line 60

 

These can be generated from the cakephp core.php configuration file, if you have a version of php > 5.3 you should see these warnings.

From a terminal, issue the following command:

$ php --version

PHP 5.5.3-1ubuntu2.1 (cli) (built: Dec 12 2013 04:22:11) 

As you can see, my php version is greater than 5.3, and my application shows 2 warnings. To remove the warning, I had to edit /var/www/yourapp/app/Config/core.php

I searched for //date_default_timezone_set('UTC'); and then I removed the two slashes at the beginning of the string.

As french people says: les jeux sont faits.

Now all should work fine!

Gg1