I got this error when I requested to update the PHP version from 5.2.17 to PHP 5.3.21 on the server.
I had to put it in double quotes.
date_default_timezone_set("America/Los_Angeles"); // default time zone