Enable the following settings as shown below
display_errors
Default Value: On
Development Value: On
Production Value: Off
error_reporting
Default Value: E_ALL & ~E_NOTICE
Development Value: E_ALL | E_STRICT
Production Value: E_ALL &
~E_DEPRECATED
Restart apache server