Problem with ISPCONFIG 3.1.2 and PHP-FPM

Discussion in 'General' started by lnxgs, Feb 14, 2017.

  1. lnxgs

    lnxgs Member

    Hi,
    I've a Debian GNU/Linux 7 (wheezy) with Apache and PHP 5.6.30-1~dotdeb+zts+7.1 installed. Before upgrading from 3.0.x, it was OK.
    This error appers after the upgrade to 3.1.2
    If I choose PHP-FPM as php type, I get 500 internal error. If I switch to PHP-CGI, it's OK.
    Here what I found on website error log.
    Any suggestion?
    Regards,
    L.

    Code:
    [Tue Feb 14 15:22:33 2017] [error] [client 161.56.45.71] SecurityException in Application.cpp:496: Handler not found in configuration, referer: http://delivery.bb1022.info/r?url=http%3A%2F%2Fwww.webtracking.com%2Fhome%2Fl1camp%2F31743%2F%3Ftrackcode%3Dpx24880841359a4d158a31297a89f4996563421&redirect_back=%2F%2Fdelivery.bb1022.info%2F18843%2F%3Ftt%3D1%26tt%3D1
    [Tue Feb 14 15:22:33 2017] [error] [client 161.56.45.71] Caused by KeyNotFoundException in Configuration.cpp:234: Handler "application/x-httpd-suphp" not found, referer: http://delivery.bb1022.info/r?url=http%3A%2F%2Fwww.webtracking.com%2Fhome%2Fl1camp%2F31743%2F%3Ftrackcode%3Dpx24880841359a4d158a31297a89f4996563421&redirect_back=%2F%2Fdelivery.bb1022.info%2F18843%2F%3Ftt%3D1%26tt%3D1
    [Tue Feb 14 15:22:33 2017] [error] [client 161.56.45.71] Premature end of script headers: index.php, referer: http://delivery.bb1022.info/r?url=http%3A%2F%2Fwww.webtracking.com%2Fhome%2Fl1camp%2F31743%2F%3Ftrackcode%3Dpx24880841359a4d158a31297a89f4996563421&redirect_back=%2F%2Fdelivery.bb1022.info%2F18843%2F%3Ftt%3D1%26tt%3D1
    [Tue Feb 14 15:22:33 2017] [error] [client 161.56.45.71] SecurityException in Application.cpp:496: Handler not found in configuration, referer: http://delivery.bb1022.info/r?url=http%3A%2F%2Fwww.webtracking.com%2Fhome%2Fl1camp%2F31743%2F%3Ftrackcode%3Dpx24880841359a4d158a31297a89f4996563421&redirect_back=%2F%2Fdelivery.bb1022.info%2F18843%2F%3Ftt%3D1%26tt%3D1
    [Tue Feb 14 15:22:33 2017] [error] [client 161.56.45.71] Caused by KeyNotFoundException in Configuration.cpp:234: Handler "application/x-httpd-suphp" not found, referer: http://delivery.bb1022.info/r?url=http%3A%2F%2Fwww.webtracking.com%2Fhome%2Fl1camp%2F31743%2F%3Ftrackcode%3Dpx24880841359a4d158a31297a89f4996563421&redirect_back=%2F%2Fdelivery.bb1022.info%2F18843%2F%3Ftt%3D1%26tt%3D1
    [Tue Feb 14 15:22:33 2017] [error] [client 161.56.45.71] Premature end of script headers: index.php, referer: http://delivery.bb1022.info/r?url=http%3A%2F%2Fwww.webtracking.com%2Fhome%2Fl1camp%2F31743%2F%3Ftrackcode%3Dpx24880841359a4d158a31297a89f4996563421&redirect_back=%2F%2Fdelivery.bb1022.info%2F18843%2F%3Ftt%3D1%26tt%3D1
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    PHP 7.1 is not supported as system PHP version. Downgrade the system PHP version to a php 5.x version and then install PHP 7.1 as additional PHP.
     
  3. lnxgs

    lnxgs Member

    Hi,
    here 7.1 is not PHP version but the dotdeb one, where 7 means Wheezy. I've PHP 5.6.30.
    Regards,
    L.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Sorry, you are right of course, I've read too fast :)

    Do you get the same error with a simple php script like

    <?php
    phpinfo();
    ?>

    in that site?

    I wonderw hy the error refers to suphp when the site is switched to fpm.
     
  5. lnxgs

    lnxgs Member

    Hi,
    In this moment it does not appear. I restarted apache and php-fpm. I'm going to wait some time if the problem arises again ( maybe it appears when I have high load).

    Regards,
    L.
     

Share This Page