Since Cotonti requires PHP 5, I found it convenient (or actually neccesary) to add a single line to my .htaccess file so the server (Mediatemple Grid Service
) would treat my .php files as PHP 5.
If your server is executing files as PHP 4 you will soon find your site to die with a fatal error:
Call to undefined function: date_default_timezone_set()
Here's what I've added in .htaccess:
AddHandler php5-script .php
Perhaps we should include this in Cotonti by default.