Home  >  Article  >  Backend Development  >  How to remove php deprecated

How to remove php deprecated

藏色散人
藏色散人Original
2021-10-28 10:49:383829browse

php method to remove deprecated: 1. Find and open the "php/php.ini" file; 2. Modify the content to "error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_WARNING".

How to remove php deprecated

The operating environment of this article: Windows 7 system, PHP version 7.1, DELL G3 computer

How to remove php deprecated?

How to remove PHP warning, deprecate and other prompts

Open php/php.ini:

Modify

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

Just

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_WARNING

.

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of How to remove php deprecated. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn