<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.