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!

SOLVED Problem with lsapi_mod and MultiPHP

Discussion in 'CloudLinux' started by bejbi, Mar 15, 2017.

Tags:
  1. bejbi

    bejbi Well-Known Member

    Joined:
    Jan 20, 2006
    Messages:
    98
    Likes Received:
    1
    Trophy Points:
    158
    Location:
    Poland
    cPanel Access Level:
    DataCenter Provider
    I installed mod_lsapi from CloudLinux.

    But it is not visible in Handlers in MultiPHP (I have only defult: suphp, cgi and none). Should it be there ?

    How to diagnose what is wrong ?

    W.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. bejbi

    bejbi Well-Known Member

    Joined:
    Jan 20, 2006
    Messages:
    98
    Likes Received:
    1
    Trophy Points:
    158
    Location:
    Poland
    cPanel Access Level:
    DataCenter Provider
    Thank You.

    I have lsapi working, but It doesnt work on php 5.3 and 7.1 (all the settings are the same on all php versions, all modules are the same), but in log I have:

    End of script output before headers: ea-php71

    W.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Do you notice any additional output to /usr/local/apache/logs/error_log when this happens? Also, please post the output from the following commands:

    Code:
    /usr/local/cpanel/bin/rebuild_phpconf --current
    rpmverify ea-apache24
    Additionally, try using the update flag with the cagefsctl command to see if it helps correct the issue:

    Code:
    cagefsctl --update 
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Anoop P Alias

    Anoop P Alias Well-Known Member

    Joined:
    Mar 31, 2015
    Messages:
    94
    Likes Received:
    14
    Trophy Points:
    8
    Location:
    Kochi,Kerala,India
    cPanel Access Level:
    Root Administrator
    Is your script compatible with php71. put a phpinfo() page and see if that works and see if it shows the correct sapi
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. bejbi

    bejbi Well-Known Member

    Joined:
    Jan 20, 2006
    Messages:
    98
    Likes Received:
    1
    Trophy Points:
    158
    Location:
    Poland
    cPanel Access Level:
    DataCenter Provider
    Problem resolved - we needed to edit /etc/container/php.handler and insert additional PHP handlers.

    CloudLinux was not added php 7.1 and 5.3 into this file by default.

    W.
     
    Infopro likes this.
Loading...

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