Home >Backend Development >PHP Tutorial >php debugging errors in the page to resolve php error 500

php debugging errors in the page to resolve php error 500

WBOY
WBOYOriginal
2016-07-28 08:26:401007browse

<code><span>error_reporting(E_ALL)</span>;
<span>ini_set(<span>"display_errors"</span>, <span>1</span>)</span>;</code>

The server is set to not prompt errors, so if there is a problem with PHP syntax, an error 500 will be prompted. The solution is also very simple. Display the error message and paste the above code to the top of the file.

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces how to debug errors in php pages and solve php error 500, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Yii20 file uploadNext article:Yii20 file upload