[Resolved] Check LiteSpeed version from PHP

#1
Recently I've found a bug (chunked POST support) in LiteSpeed, that was fixed in version 4.0.16.
litespeedtech.com/support/forum/showthread.php?p=20259

Yesterday my hosting provider upgraded LiteSpeed server to version 4.0.16 (at least they claim to do so). But still - chunked POST requests - are not working.

Is there any way that I can check from PHP level (this is shared web hosting), if version 4.0.16 has been really installed ?

Thanks in advance for all answers and suggestions.

Best Regards,
Mateusz Maksymiuk
 
Last edited by a moderator:
#3
Thank You very much mistwang.
Although, Your proposal not returned any output (maybe insufficient privileges), but You get me on the right track and I used following:
PHP:
$output = shell_exec('cat /usr/local/lsws/VERSION');
echo "<pre>$output</pre>";
LSWS version is indeed 4.0.16.
I checked again chunked POST request again, and seems like a miracle has happen - now it works !!!

Best regards,
Mateusz Maksymiuk
 
Top