The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php.ini

Discussion in 'General Discussion' started by Buff3r, Mar 29, 2011.

  1. Buff3r

    Buff3r Member

    Joined:
    Dec 28, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Donno if this is in the right place but im having problems with php.ini here error im getting..

    [phpBB Debug] PHP Notice: in file /index.php on line 86: date() [/phpmanual/function.date.html]: 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 'Europe/London' for 'BST/1.0/DST' instead
    [phpBB Debug] PHP Notice: in file /index.php on line 86: getdate() [/phpmanual/function.getdate.html]: 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 'Europe/London' for 'BST/1.0/DST' instead
    [phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
    [phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
    [phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
    [phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)

    Yet in php.ini it has this set..

    ; date.timezone: (ini file field description not available)
    date.timezone = UTC
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    The account in question doesn't have its own php.ini file does it? If so, you'll need to set the entry there as well.

    The other entry about the "Cannot modify header information" is unrelated to the timezone error.
     
Loading...

Share This Page