Home > Backend Development > PHP Problem > How to remove php deprecated

How to remove php deprecated

藏色散人
Release: 2023-03-13 14:46:02
Original
3866 people have browsed it

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
Copy after login

Just

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_WARNING
Copy after login

.

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template