• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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