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.

MultiPHP INI Editor is not working with mod_lsapi

Discussion in 'CloudLinux' started by Rodrigo Gomes, Dec 9, 2017.

  1. Rodrigo Gomes

    Rodrigo Gomes Well-Known Member

    Joined:
    Apr 6, 2016
    Messages:
    100
    Likes Received:
    24
    Trophy Points:
    18
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Hello,

    I migrated to CloudLinux recently and started to use mod_isapi.

    And I noticed that the MultiPHP INI Editor does not work with this module because the Editor adds a line that checks by php7_module.

    Example:
    Code:
    # BEGIN cPanel-generated php ini directives, do not edit
    # Manual editing of this file may result in unexpected behavior.
    # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
    # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
    <IfModule php7_module>
       php_flag display_errors Off
    </IfModule>
    # END cPanel-generated php ini directives, do not edit
    if I remove <IfModule php7_module>, then everything works normally.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,494
    Likes Received:
    1,612
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you verify which version of PHP is enabled for the account in "cPanel >> MultiPHP Manager"?

    Thank you.
     
  3. Rodrigo Gomes

    Rodrigo Gomes Well-Known Member

    Joined:
    Apr 6, 2016
    Messages:
    100
    Likes Received:
    24
    Trophy Points:
    18
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    PHP 7.2
     
  4. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    579
    Likes Received:
    177
    Trophy Points:
    43
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Since the all too brief love affair between cPanel and Cloudlinux seems to have degenerated into an unhappy marriage, and Cloudlinux have repeatedly stated that they will drop their implementation of PHP Selector as soon as the MultiPHPManager reaches feature parity, I don't hold out much hope of anything much being done to further develop the inter-compatibility between these two solutions.

    Personally, my customers all prefer the Cloudlinux implementation using PHP Selector |extension manager | options over the cPanel MultiPHPManager and their MultiPHP INI Editor, even though the latter potentially allows better and more flexible control over the PHP environment.

    I run mod_lsapi with lsapi set as the handler, and use alt-php and PHP Selector for all my clients, and my clients and I are delighted with the results.
     
  5. Rodrigo Gomes

    Rodrigo Gomes Well-Known Member

    Joined:
    Apr 6, 2016
    Messages:
    100
    Likes Received:
    24
    Trophy Points:
    18
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    I agree.

    This depends on the type of client, on my server I like to facilitate for clients, and MultiPHP has an easier interface.

    We like the principle: less is more.
     
    cPAusaf likes this.
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,494
    Likes Received:
    1,612
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you open a support ticket using the link in my signature so we can test this further to determine if the behavior is a bug?

    Thank you.
     
    #6 cPanelMichael, Dec 13, 2017
    Last edited: Dec 13, 2017
  7. Rodrigo Gomes

    Rodrigo Gomes Well-Known Member

    Joined:
    Apr 6, 2016
    Messages:
    100
    Likes Received:
    24
    Trophy Points:
    18
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Hello Michael!

    I think this is a bug. But it is not something relatively urgent, I can do the tests that you want, and put here the results!
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    41,494
    Likes Received:
    1,612
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    As I understand, this would be a bug with LSAPI as opposed to cPanel. Could you report this to the CloudLinux support team and let us know the ticket number?

    CloudLinux - Submit A Support Request

    Thank you.
     
  9. Rodrigo Gomes

    Rodrigo Gomes Well-Known Member

    Joined:
    Apr 6, 2016
    Messages:
    100
    Likes Received:
    24
    Trophy Points:
    18
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Hello Michael,

    I opened a support ticket in cPanel and was informed of the following:
    Then I opened a feature request:
    Make MultiPHP INI Editor work with mod_lsapi
     
    cPanelMichael likes this.
Loading...

Share This Page