Skip to main content

cPanel / Litespeed 8.1 and 8.2

Comments

9 comments

  • littlecharlie
    Hello. Thank you for your info. I don't mind using cPanel to change PHP versions. The problem is: When I set PHP 8.1 or 8.2 on ANY cPanel account, the Website goes down with Error 403 and logs shows: MIME type [application/x-httpd-ea-php82] for suffix '.php' does not allow serving as static file, access denied! Back to 8.0 and everything works fine again. I already have PHP 7.4, 8.0, 8.1 and 8.1 installed using EA. With that in mind, that the compiler will be deprecated, how can i use recent versions of PHP in cPanel?
    0
  • vacancy
    This is an issue with litespeed's lsapi module. What is your Litespeed version? If you have old version litespeed, your integrated lsapi module version is old, old lsapi versions do not support new php versions. LSAPI 8.0 - lower versions including php 8.1 support. LSAPI 8.1 - Supports lower versions including php 8.2. You can see your LSAPI version by uploading a php info file to a site using php 8.0.
    0
  • littlecharlie
    Hello vacancy
    Server API LiteSpeed V8.0.1
    The version is compatible with PHP 8.1. But when I set in cPanel, the Website goes down.
    0
  • cPRex Jurassic Moderator
    It would be best to check the Apache logs to see why the site is going offline after you switch the PHP version. There is likely an incompatibility between the site and the newer PHP version, but I would hope the logs give more detail about this.
    0
  • littlecharlie
    Thank you, but no incompatibility with the Website (WordPress 6.1.1). I'm using the version in several projects with Apache and PHP 8.2. The issue os only with Lite Speed and 8.1 and 8.2.
    0
  • cPRex Jurassic Moderator
    Are you saying that if you disable Litespeed for testing and just use Apache, the sites work under the new PHP version?
    0
  • littlecharlie
    Yes. My WordPress work 100% with Apache and PHP 8.0, 8.1 and 8.2. With Lite Speed work only with PHP 8.0.
    0
  • cPRex Jurassic Moderator
    It might be best to create a ticket with our team so we can check this and determine if this is a Litespeed issue or a cPanel issue.
    0

Please sign in to leave a comment.