PHP/Utility Function/putenv
Handling DST with zoneinfo
<?php
putenv("TZ=America/Denver");
$summer = mktime(12,0,0,7,4,2008);
print date("c", $summer) . "\n";
putenv("TZ=America/Phoenix");
print date("c", $summer) . "\n";
?>
Setting an environment variable
<?php
putenv("ORACLE_SID=ORACLE");
?>