php.ini and E_STRICT errors

Hi folks,

I basically struggle to figure out why my php does not displays E_STRICT errors…
You know, the sort of errors you get if the default timezone is not set in your script…

This is happening in virtual machines , one running php 5.6 (Debian Jessie) and the other 7.1.9 (Debian Stretch).
(I also had virtual CentOS7 where this was actually displaying this kind of error.Using the same script does not trigger that error if run on either of Debian systems.)

Obviously, error_reporting is set to ,E_ALL, , display_errors is ,on, , display_startup_errors is also set to ,on,.

Does anyone know how to trigger E_STRICT error any other smart way than not setting default timezone?
Eventually where & what to have a look at?

Perhaps this is normal behavior when running php on Debian system, and it is just me getting paranoid :’(

the attached is a screenshot from phpinfo():

(I found this error displaying linked to phpmanual docs via clickable links handy and would like to get it working.)


Looks like Debian somehow sets default timezone to ,Europe/London, whilst CentOS to ,UTC, so i assume this is the culprit…

Sponsor our Newsletter | Privacy Policy | Terms of Service