cPanel / Litespeed 8.1 and 8.2
Hello.
I'm using cPanel with Lite Speed.
The PHP version is 8.0.
I like to use 8.1 or 8.2.
When I change the version in cPanel PHP manager the Website goes down. (MIME type [application/x-httpd-ea-php82] for suffix '.php' does not allow serving as static file, access denied!)
In Lite Speed admin panel I dont see PHP 8.1 or 8.2 to compile. Only PHP 8.0.
-
Hey there! The "Compile PHP" tool isn't available for newer versions of PHP, as outlined here:
so it sounds like you won't be able to use that feature for a PHP version higher than 8.0. You'll want to use the cPanel and WHM tools to manage the PHP version directly on the system.0 -
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 -
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 -
Hello vacancy
The version is compatible with PHP 8.1. But when I set in cPanel, the Website goes down.Server API LiteSpeed V8.0.1 0 -
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 -
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 -
Are you saying that if you disable Litespeed for testing and just use Apache, the sites work under the new PHP version? 0 -
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 -
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.
Comments
9 comments