Set mulple lsphp handlers for Plesk + LSWS

You can add prefix and set handler one by one. If you are a command line Guru and prefer to make the changes through the LSWS configuration file, simply edit the httpd_config.xml(/usr/local/lsws/conf/httpd_config.xml) file and add the following to your server side <scriptHandlerList>… </scriptHandlerList> section:

  <scriptHandler>
    <suffix>php70</suffix>
    <type>lsapi</type>
    <handler>lsphp70</handler>
  </scriptHandler>
  <scriptHandler>
    <suffix>php56</suffix>
    <type>lsapi</type>
    <handler>lsphp56</handler>
  </scriptHandler>
  <scriptHandler>
    <suffix>php55</suffix>
    <type>lsapi</type>
    <handler>lsphp55</handler>
  </scriptHandler>
  <scriptHandler>
    <suffix>php54</suffix>
    <type>lsapi</type>
    <handler>lsphp54</handler>
  </scriptHandler>
  <scriptHandler>
    <suffix>php53</suffix>
    <type>lsapi</type>
    <handler>lsphp53</handler>
  </scriptHandler>
  <scriptHandler>
    <suffix>php52</suffix>
    <type>lsapi</type>
    <handler>lsphp52</handler>
  </scriptHandler>