• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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