Warning: phpinfo(): It is not safe to rely on the system's timezone settings

Php and Uhttpd

opkg update
opkg install zoneinfo-core
opkg install zoneinfo-northamerica
nano /etc/php.ini

date.timezone = "America/New_York"

/etc/init.d/uhttpd  restart

Browser http://192.168.0.102/phpinfo.php

 

Comments powered by CComment