PHP Error Reporting

Discussion in 'Installation/Configuration' started by zer0_g666, Jan 24, 2006.

  1. zer0_g666

    zer0_g666 Member

    How can i enable this so it will display the errors in my php scripts and not just a blank page.

    :)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Search for your php.ini, e.g with the connad locate:

    locate.php.ini

    Its the file located under /etc/....

    Open the file with an editor and and set:

    error_reporting = E_ALL

    To see all errors and notices or a more usable setting is:

    error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

    which shows only errors that stop your script. Then restart your apache webserver.
     
  3. zer0_g666

    zer0_g666 Member

    Was already set so i changed display_errors = On ...

    thanks :D
     

Share This Page