Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8662543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:45:33+00:00 2026-06-12T16:45:33+00:00

Possible Duplicate: PHP – It is not safe to rely on the system’s timezone

  • 0

Possible Duplicate:
PHP – It is not safe to rely on the system’s timezone settings

I’ve an existing project in symfony 1.4/propel 1.4. Its running fine on productions server (RedHat) and on my local development environment (WAMP Server on windows 7).

I’m setting a new scaling server, running on OpenSuse 12.1, for local office testing over intranet.

Everything is fine but I’m getting following warnings on HTML page

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Calcutta' for 'IST/5.0/no DST' instead in /home/admin/svntestco/troupasvn/trunk/lib/vendor/symfony/lib/config/sfRootConfigHandler.class.php on line 91

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Calcutta' for 'IST/5.0/no DST' instead in /home/admin/svntestco/troupasvn/trunk/lib/vendor/symfony/lib/config/sfDefineEnvironmentConfigHandler.class.php on line 66

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Calcutta' for 'IST/5.0/no DST' instead in /home/admin/svntestco/troupasvn/trunk/lib/vendor/symfony/lib/config/sfDefineEnvironmentConfigHandler.class.php on line 66

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/admin/svntestco/troupasvn/trunk/lib/vendor/symfony/lib/config/sfRootConfigHandler.class.php:91) in /home/admin/svntestco/troupasvn/trunk/lib/vendor/symfony/lib/storage/sfSessionStorage.class.php on line 93

Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /home/admin/svntestco/troupasvn/trunk/lib/vendor/symfony/lib/storage/sfSessionStorage.class.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at /home/admin/svntestco/troupasvn/trunk/lib/vendor/symfony/lib/config/sfRootConfigHandler.class.php:91) in /home/admin/svntestco/troupasvn/trunk/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 336

Warning: Cannot modify header information - headers already sent by (output started at /home/admin/svntestco/troupasvn/trunk/lib/vendor/symfony/lib/config/sfRootConfigHandler.class.php:91) in /home/admin/svntestco/troupasvn/trunk/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 357

I know issue is with some timezone settings but I dont know how to fix it. I try to find out php.ini file in use but could not as php was installed through Yast. Can someone please give the the file name (probably php.ini), its location on opensuse and the change needed to fix that.

Please note, we are using nginx, not apache.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T16:45:34+00:00Added an answer on June 12, 2026 at 4:45 pm

    For Symfony you should look that you have installed the php_intl extension. I had problem.

    The second is you should set your timezone in your php.ini file.

    php.ini:

    [Date]
    ; Defines the default timezone used by the date functions
    date.timezone = Europe/Berlin 
    

    for example.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: PHP Configuration: It is not safe to rely on the system’s timezone
Possible Duplicate: PHP code is not being executed (i can see it on source
Possible Duplicate: PHP class instantiation. To use or not to use the parenthesis? Omission
Possible Duplicate: PHP SPL RecursiveDirectoryIterator RecursiveIteratorIterator retrieving the full tree I am not sure
Possible Duplicate: PHP Export Excel to specific Path? I'm not really familiar with PHP
Possible Duplicate: PHP: convert date format yyyy-mm-dd => dd-mm-yyyy [NOT IN SQL] Right now
Possible Duplicate: PHP storing password in cookie In a login system, if a user
Possible Duplicate: PHP: Does $_SERVER['HTTP_X_REQUESTED_WITH'] exist or not? Recently came upon a problem where
Possible Duplicate: php - regular expression - PCRE does not support \L, \l, \N,
Possible Duplicate: PHP get both array value and array key I am using Codeigniters'

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.