:
pico /usr/local/lib/php.ini
To do this navigate to your PHP directory and locate the php.ini file.

Look for the line

display_errors On

Change the On to Off | alternatively on some installations it will show as


display_errors 1
just change the 1 to 0 (the number zero)
:
service httpd restart