you're right.
did tests on lsws 5.1.11 without control panel. there are 2 php handlers: lsphp5, lsphp71.
lsphp71 is set as default handler.
when access a directory, it shows "X-Powered-By: PHP/7.1.0" as one response header
after create following .htaccess
/usr/local/lsws/share/autoindex>cat...