Enabling enhanced php debugging

Discussion in 'ISPConfig 3 Priority Support' started by cmks, Mar 18, 2021.

  1. cmks

    cmks Member HowtoForge Supporter

    we are running a box
    - Debian 10
    - ISPConfig 3.2.3
    - php7.3
    - apache2
    -# php as fast-cgi enabled
    - some sites, one of them runs WBB forum software

    Since some weeks the WBB forum software has a login issue, so you need to reload the page some times after login to make it work, usually you get a blank page after the first login try. Anything else works fine.

    Neither apache nor php are logging any useful information about tihs behavior.

    My question: How can I configure the box to log as much as possible for ongoing analyses?

  2. cmks

    cmks Member HowtoForge Supporter

    I found the right places for configuring error logging for apache2/mod_php

    /etc/apache2/sites-available/site.vhost (two sections, one for http, one for https)

    phpinfo() reports the settings as expected and if there is a (test-) php error it will be reportet to the log file configured.

    The initial problem still exists and I get no log entries - neither php nor apache. After logging into WBB it need some page reloads until the content is loaded but an empty page.

    I will be appreciative for any information how to analyse this behavior.
    Last edited: Mar 19, 2021
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    mod_php should not be sued anymore to run PHP in websites, switch the site to php-fpm mode. And the suexec checkbox should be on.

    PHP specific settings for this website like log levels can then be set in the php.ini directives field on the options tab of the website.

Share This Page