Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to display all errors in php

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 108
    Comment on it

    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)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: