Skip to main content

Cloudlinux, EA4 and PHP Handlers. Impossible Triangle?

Comments

6 comments

  • cPanelMichael
    Hello, Have you looked into using mod_lsapi with CloudLinux? It's documented at: CloudLinux Documentation Here's the initial blog post from CloudLinux when this module was released that goes into some detail about the security of existing PHP handlers: Beta: mod_lsapi - supercharge your Apache PHP hosting Thank you.
    0
  • luigidelgado
    mod_lsapi looks a great option once I move into Cloudlinux as I see it is only available for Cloudlinux customers, right?
    0
  • cPanelMichael
    New mod_lsapi looks a great option once I move into Cloudlinux as I see it is only available for Cloudlinux customers, right?

    Yes, that's correct. Thank you.
    0
  • luigidelgado
    Michael, So now I am in Cloudlinux. I found LSAPI in the profiles in EasyApache 4.... so I ran one of those Profiles (the Default cPanel one) added some modules I needed including OpCache... But I am back to see the PHP handler to be CGI. Looks like I lost suEXEC and FCGI... How does LSAPI work if it says its a "direct replacement to suPHP and FCGI"? Cant get that. Also, how can I tell if LSAPI is working or not? Should I still install FCGI to avoid CGI? Its a bit confusing...
    0
  • cPanelMichael
    Hello, CloudLinux documents this module at: CloudLinux Documentation This thread in-particular should answer your questions: lsapi - installation Thank you.
    0
  • Anoop P Alias
    You can upload a phpinfo file in the document root and call it via web browser and check the Server API section in phpinfo. It should show lsapi if using mod_lsapi . it will show CGI for cgi and SuPHP etc.
    0

Please sign in to leave a comment.