How to Display php errors

preview_player
Показать описание
How to Display and Log PHP Errors

1. For solution use these method.

2.Create an htaccess file and Some code written in that file

php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_flag log_errors on

3. these all code copy and paste into .htaccess file

4. file save in project root directory.

5.Second method ---

a. in php file add some code .as like

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

6. that is comman method next if you not see error after two method use then next check

7. third method ----


display_errors = on

8. display_errors on or not

if You have any problem then message here ..

thank's for watching
don't forget like or subscribe.
Рекомендации по теме