Topic: PHP 5.6 with LiteSpeed Web Server on AlmaLinux 8 (remi repo)
Hello Remi,
I wanted to ask you first as a last resort, before proceeding to switch to another OS or server.
I could able to install and run PHP 5.6 on Almalinux 8 & Plesk & Apache by following this post:
https://talk.plesk.com/threads/almalinu … ost-923401
The problem is I'm running LiteSpeed Web Server instead of Apache, and when I switch to LSWS from Apache, PHP 5.6 does not work anymore (503 errors, etc.)
After several tickets and investigations, LSWS support team came to this conclusion:
I think the issue here is how that Remi PHP was built
by default all the cPanel/DirectAdmin/Plesk PHP were built with argument --with-litespeed as my screenshot 1 , you can see the configure argument
this argument will make PHP to build with our SAPI (LSAPI/LSPHP) which is needed by LSWS
but when Remi built this PHP binary , as you can see in my screenshot 2 , it does NOT include this argument , which in turn , makes it failed to communicate with LSWS and end up in 503 error as external app is not working properly
I don't know how it works or even it is possible, but can you please provide me a custom RPM which includes --with-litespeed argument?
Regards