debugging PHP web application

Discussion in 'Installation/Configuration' started by aldo, May 26, 2011.

  1. aldo

    aldo Member HowtoForge Supporter

    I would like to debug a PHP (Fast-CGI) web application configured on ISPConfig 3 but a blank page is returned.

    Can I configure "Custom php.ini settings" or "Apache directives " (in Web Domain > Options) to enable debugging?

    If this is the right way, how can I do?

    Thanks.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can enable verbose php error logging either in the php.ini file to enable it globally or in the "Custom php.ini settings" settings field to enable it just for this one website. You might also want to take a look into the error.log file of the website.
     
  3. aldo

    aldo Member HowtoForge Supporter

    Thank you Till,
    I solved it by putting
    PHP:
    error_reporting=E_ALL;
    display_errors=on;
    in "Custom php.ini settings" field.

    Is it possible to limit the display to one (or more) IP address using fields
    "Custom php.ini settings" or "Apache directives "?

    Thanks again.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    No, not as far as I know.
     

Share This Page