# wordpress安装之后如何去除警告提示信息

constant gallerytag – assumed ‘gallerytag’ (this will throw an Error in a future version of PHP) in……
constant videotag – assumed ‘videotag’ (this will throw an Error in a future version of PHP) in……
constant taotag – assumed ‘taotag’ (this will throw an Error in a future version of PHP) in……
constant filtersa – assumed ‘filtersa’ (this will throw an Error in a future version of PHP) in constant filtersb – assumed ‘filtersb’ (this will throw an Error in a future version of PHP) in……

……好多好多，不忍描述。然后下面是网站正常的样子。

1、打开 php.ini

2、设置 error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

3、设置 display_errors = Off

+ 订阅