If you want to hide all error from your web page and store all the error in  log file then use below coding on all your php pages on top or include in header.php

//error handling start
ini_set(‘error_reporting’, E_ALL );
//error handling close


above said coding cretes a file error_log.txt file in your current directory where your program include this file.

Share on Facebook