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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ea-php72 doesn't update suphp.conf

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

  1. Krydos

    Krydos Well-Known Member

    Joined:
    Jun 2, 2012
    Messages:
    48
    Likes Received:
    4
    Trophy Points:
    58
    cPanel Access Level:
    Root Administrator
    Hey,

    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
    Code:
    [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
    Code:
    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

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    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.
     
Loading...

Share This Page