To display all errors in php we need to add following lines of code in php file.
error_eporting(E_ALL);
ini_set('display_errors', 1);
We can Set display_errors = On in your php.ini file.
or we can try the following code in php file.
ini_set('display_startup_errors', 1);
We can also check the php errors with the help of htaccess file the code is given below.
php_value display_errors 1
0 Comment(s)