PHP 5.4 移除 Strict Standards

13 五月

As the commenters have stated the best option is to fix the errors, but with limited time or knowledge, that’s not always possible. In your php.ini change

error_reporting = E_ALL


error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

If you don’t have access to the php.ini, you can potentially put this in your .htaccess file:

php_value error_reporting 30711

This is the E_ALL value (32767) and the removing the E_STRICT (2048) and E_NOTICE (8) values.

If you don’t have access to the .htaccess file or it’s not enabled, you’ll probably need to put this at the top of the PHP section of any script that gets loaded from a browser call:

error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE);

One of those should help you be able to use the software. The notices and strict stuff are indicators of problems or potential problems though and you may find some of the code is not working correctly in PHP 5.4.

Hope this helps.


四川时时彩app下载手机版下载手机版下载手机版 陕西快乐十分怎么玩 山东十一选五运夺金 幸运赛车小游戏在线 东方6 1开奖结果查询果 七星彩20012计划 行业市盈率查询 黑龙江6+1开奖官网 排列三预测专家 浙江12top遗漏10 云南快乐十分前三组选走势图