This may be a silly question, but doesn't the Litespeed add support for the latest php automatically?
I have a CentOS v7.9.2009 system with WHM v4.1.10.1 plugin, running 6.0.12 version of LiteSpeed Webserver.
The problem started with Magento 2 update to 2.4.4, which officially supports php 8.1, but runs fine with php 7.4 and 8.0 on my server.
Whenever I change the php to 8.1 from the cPanel MultiPHP manager, the site crashes with error "Error: Undefined constant "Magento\Framework\Encryption\Adapter\SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NPUBBYTES", similarly to this: https://github.com/magento/magento2/issues/35419
I have the latest libsodium installed and to that end everything should be fine, so I started looking into LiteSpeed settings.
In the "Compile PHP" the version 8 seems to be at version 8.0.11 and there is no 8.1.* versions available at all, like in the screenshot.
Do I need to manually add support for the 8.1--> versions?
I have a CentOS v7.9.2009 system with WHM v4.1.10.1 plugin, running 6.0.12 version of LiteSpeed Webserver.
The problem started with Magento 2 update to 2.4.4, which officially supports php 8.1, but runs fine with php 7.4 and 8.0 on my server.
Whenever I change the php to 8.1 from the cPanel MultiPHP manager, the site crashes with error "Error: Undefined constant "Magento\Framework\Encryption\Adapter\SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NPUBBYTES", similarly to this: https://github.com/magento/magento2/issues/35419
I have the latest libsodium installed and to that end everything should be fine, so I started looking into LiteSpeed settings.
In the "Compile PHP" the version 8 seems to be at version 8.0.11 and there is no 8.1.* versions available at all, like in the screenshot.
Do I need to manually add support for the 8.1--> versions?
Attachments
-
33.1 KB Views: 7