且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

PHP错误抑制被忽略

更新时间:2023-12-05 11:19:04

似乎您正在使用Scream扩展名.从手册中:

It seems that you are using the scream extension. From the manual:

scream扩展名使您可以禁用沉默错误控制操作符,以便报告所有错误.此功能由ini设置控制.

The scream extension gives the possibility to disable the silencing error control operator so all errors are being reported. This feature is controlled by an ini setting.

尖叫是调试的扩展,旨在显示尽可能多的内容错误消息.这可以通过忽略@运算符并始终具有最高的error_reporating级别来完成. (无论您的error_reporting设置如何).因此,您将不得不在php.ini中停用扩展名:

Scream is an extension for debugging that aims to display as many error messages as possible. This is done by ignoring the @ operator and always having the highest error_reporating level available. (regardless of your error_reporting setting). So you will have to deactivate the extension in your php.ini:

scream.enabled = off


顺便说一句:我不会更新具有170个网站的服务器,并显示代码错误.现在是一颗滴答滴答的炸弹.***将它们逐站点迁移到新的PHP版本.在迁移过程中,也许有两台服务器并行.


BTW: I would not update a server having 170 websites with code errors. It's a ticking bomb now. It would be better to migrate them site by site to the new PHP version. Maybe having two servers parallel during the migration process.