First of all, enable display_errors parameter in your php.ini configuration file. Then, add the following code to your the application PHP script. For example, add this code to your index.php or other default load script.

Here is a sample index.php with enabled error to display on browser.

How to Enable PHP errors to Display on Web Browser   TecAdmin - 80