Create a file named errors.php in the folder where the file with errors exist.
Open the errors.php file in text editor and paste these codes in the file:
Replace filename.php with the name of the file that has errors.
Open the errors.php file in browser. You can now see the errors in the file.