Waitrud Weber’s blog

things and reminders for memories

In Laravel, we must kill source code error mssage ourself when we manage web site.

In Laravel, we must kill source code error mssage ourself when we manage web site.

 

I make sure the folloing:

.\xampp\php\php.ini

error_reporting=E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED

; error_reporting
;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
;   Development Value: E_ALL
;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT

 

 phpinfo();
 // .\xampp\php\logs\php_error_log

 // error_reporting = 4 (E_PARSE)

 

f:id:Waitrud_Weber:20181226210650p:plain

 

First I tried, threre is no phpinfo.php.

In the page of "Not found 404" php routes print("Run the application");

https://waitrudweber.hatenablog.com/entry/2018/12/22/235520

 

f:id:Waitrud_Weber:20181226210335p:plain

 

Laravel returns message to browser as http respose.

Even I seterror_repoting=E_PARSE, source code message doesn't change like the below.

https://waitrudweber.hatenablog.com/entry/2018/12/26/200925