PHP Problem?

Discussion in 'Installation/Configuration' started by baicunko, Aug 6, 2011.

  1. baicunko

    baicunko New Member

    I've installed CENTOS 6.0 with ISPConfig 3 Following falkos tutorial.
    The problem is now i've installed a page and i'm getting this in the page
    Warningdate() []: 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 'London/0.0/no DST' instead in /var/www/clients/client1/web1/web/cake/libs/cake_log.php on line 94
    I've added in php.ini data.timezone="America/Santiago" But no improvement
    Also getting this error
    Warning (2): include() []: open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/clients/client1/web1/web:/var/www/clients/client1/web1/tmp:
    I've tryed any PHP configuration in ISPCOnfig and still the same.
    Any ideas?
  2. falko

    falko Super Moderator ISPConfig Developer

    Did you restart Apache?

    You must go to the PHP open_basedir field on the Options tab of your web site in ISPConfig and add the mentioned directories.

Share This Page