• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Problem to activate Firewall rules on Plesk

C

CesarV

Guest
Hi. When I try to activate firewall rules, appears this error:

Error: Could not activate firewall configuration:

proc_close() failed: mktime() [<a href='function.mktime'>function.mktime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/Sao_Paulo' for 'BRT/-3.0/no DST' instead.

What can I do to fix this problem?

Thanks
 
Your running php-5.3x :)

Edit your /etc/php.ini file

Look for the date section and add in your timezone (example):

[Date]
; Defines the default timezone used by the date functions
; http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
;date.timezone =
date.timezone = Australia/Sydney

Then /etc/int.d/httpd restart

Since php 5.1 you 'should' have been specifying the date.timezone, but in php-5.3.x its been forced and in all future php versions.
 
Back
Top