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.

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:
    94
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,204
    Likes Received:
    1,297
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. bejbi

    bejbi Well-Known Member

    Joined:
    Jan 20, 2006
    Messages:
    94
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,204
    Likes Received:
    1,297
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  5. Anoop P Alias

    Anoop P Alias Well-Known Member

    Joined:
    Mar 31, 2015
    Messages:
    65
    Likes Received:
    6
    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
     
  6. bejbi

    bejbi Well-Known Member

    Joined:
    Jan 20, 2006
    Messages:
    94
    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