Turn on and off PHP error alarm under linux linux php exec cannot be executed linux system under linux system

WBOY
Release: 2016-07-29 08:53:59
Original
994 people have browsed it

Directory /usr/local/php/etc

php.ini

Modify

2. Search and modify the following line, change the Off value to On
display_errors = Off
3. Search for the following line
error_reporting = E_ALL & ~E_NOTICE
or search:
error_reporting = E_ALL & ~E_DEPCATED
Modified to
error_reporting = E_ALL | E_STRICT

/etc/init.d/php-fpm restart

************************vi search command / looking for n next, shift n previous****** ************************

The above introduces the opening and closing of PHP error alarm under Linux, including Linux and PHP content. I hope it will be helpful to friends who are interested in PHP tutorials.

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