Error message for debugging PHP programmers? Enable the error report in the php. ini file and set the error report level :? The purpose of the display_errors variable is obvious-it tells PHP whether an error is displayed. The default value is Off. However, to make the development process easier, set this value to Debug PHP programmers.
Error message
?
Enable the error report in the php. ini file and set the error report level:
?
The purpose of the display_errors variable is obvious-it tells PHP whether an error is displayed. The default value isOff. However, to make the development process easier, set this valueOn:
Error_reportingThe default value of the variable isE_ALL. This setting displays all information from poor coding practices to harmless prompts to errors.E_ALLThe development process is a little too detailed, because it displays a prompt on the screen for some trivial matters (for example, the variable is not initialized), it will mess up the browser output. I only want to see errors and bad code practices, but do not want to see harmless prompts. Therefore, replace the following valuesError_reportingDefault value:
?
Error_reporting = E_ALL &~ E_NOTICE |
Restart Apache and set all the settings.
On the first floor, Mybeautiful 2012-05-30 programmers cannot debug the program.