Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Ea-php72 doesn't update suphp.conf

Discussion in 'EasyApache' started by Krydos, Sep 18, 2017.

  1. Krydos

    Krydos Well-Known Member

    Jun 2, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    I just updated a few of our servers to include php 7.2. On one of them the new php version would only show 500 errors. Checking the logs I found
    [Mon Sep 18 14:09:42.865056 2017] [:error] [pid 24861:tid 139805682243328] [client x.x.x.x:52532] SecurityException in Application.cpp:580: Handler not found in configuration
    [Mon Sep 18 14:09:42.865184 2017] [:error] [pid 24861:tid 139805682243328] [client x.x.x.x:52532] Caused by KeyNotFoundException in Configuration.cpp:280: Handler "application/x-httpd-ea-php72" not found
    [Mon Sep 18 14:09:42.865214 2017] [core:error] [pid 24861:tid 139805682243328] [client x.x.x.x:52532] End of script output before headers: phpinfo.php
    I followed the error back through the configuration files and found that this line was missing from /etc/suphp.conf
    application/x-httpd-ea-php72 = "php:/opt/cpanel/ea-php72/root/usr/bin/php-cgi"
    I uninstalled ea-php72 fully, and reinstalled it and the rpm still didn't update the suphp.conf file correctly. This only happened on one server though so it doesn't happen all of the time. Hopefully this bug report helps the developers or anyone who might end up with the same error as I did.
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    The following case is planned for inclusion in an EasyApache 4 maintenance release on 09-20-2017 and will address the issue you have reported:

    EA-6815 - Add support for PHP 7.2 for mod_suphp

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice