How change GMT in PHP server?

I have  a different date in my server, i want to set -6 in the server

When i check the time in my server  appears this
[root@php]# date
Fri Apr  8 11:11:31 CST 2011


Then i check the php date with this script

[root@php]# cat hora.php
<?


echo date("r");


?>

When i run the script appears this.

[root@php]# php hora.php
Fri, 08 Apr 2011 12:11:46 -0500


As you can see the time appears -0500, how can i set this time to -0600 ???  
LVL 1
IT_AEAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

IT_AEAuthor Commented:
I already found the solution, i went to /etc/php.ini and set the timezone here:

[Date]
; Defines the default timezone used by the date functions
date.timezone = America/El_Salvador
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux OS Dev

From novice to tech pro — start learning today.