How to Display php errors

Published: 11 December 2017
on channel: rahul shukla
1,381
like

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
php_value error_log errors.log

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

a. check php.ini file .these file in php folder

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.


On this page of the site you can watch the video online How to Display php errors with a duration of hours minute second in good quality, which was uploaded by the user rahul shukla 11 December 2017, share the link with friends and acquaintances, this video has already been watched 1,381 times on youtube and it was liked by like viewers. Enjoy your viewing!