Check the Enable display_errors to display php error message if you want errors message to display on the screen. When this option is enabled, anyone can see php error messages on their screen. Uncheck the box if you do not want users to see error messages. Turning this option on is useful when trouble-shooting problems as they display immediately on your screen. When the problem has been solved, you can turn the option off.
Select Core and scroll down to error log. If the line is blank error logs are not created.
Enter the path and the file name for the error log. Make sure you enter a valid path or the log will not be created.
Scroll down to log_errors and ensure the value is set on.
Select OK when finished to save the settings. If you have more than one version of php installed, use a unique name for each log file. Repeat this procedure for each version of php.