What to do if there is no error message in php

藏色散人
Release: 2023-03-04 20:28:02
Original
2116 people have browsed it

Solution to the problem that php has no error message: 1. If you do not have the permission to modify "php.ini", modify the code to "ini_set("display_errors", "On");"; 2. Modify The content of "php.ini" is "display_errors = On".

What to do if there is no error message in php

Recommended: "PHP Video Tutorial"

php open error message

If you do not have the permission to modify php.ini, you can do the following:

ini_set("display_errors", "On");
error_reporting(E_ALL | E_STRICT);
Copy after login

Of course, if you can modify php.ini , as follows:

display_errors = On
error_reporting  =  E_ALL & ~E_NOTICE
Copy after login

The above is the detailed content of What to do if there is no error message in php. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template