[Solved] How to display php error ?

  • Hi,


    I'm using i-mscp 1.1.14 under debian wheezy
    I'm also using FCGI (I think)


    I need to display all php error on a website.
    I used to edit /var/www/fcgi/domain.org/php5/php.ini and uncomment E_ALL line before upgrade i-MSCP version
    But after apache2ctl restart I still have blank page.


    What's wrong ?

  • OK I have solved the problem !
    I put this on my /var/www/fcgi/domain.org/php5/php.ini :

    Code
    1. ...
    2. error_reporting = E_ALL
    3. display_errors = On
    4. html_errors = On
    5. ...
  • Thanks for the tips, but it doesn't work.
    The errors are not displaying....


    Of cause it wo'nt work.
    You need to choose in the fourth string not "standart", but debug mode (show errors). phpinfo is just phpinfo...

  • ini_set("display_errors",1);
    error_reporting(E_ALL^E_NOTICE);


    copy @ begining of any php file where you want to see the errors(if U put these codes to a global included file U see errors on every files)....(enable php_error_reporting on admin panel)