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.