Irrespective of time zone set in php.ini file , we can set the time zone of the server for our script by using date_default_timezone_set() function.
The list of applicable time zone identifier is available here.
Here is the sample code to set the time zone.