Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
litespeed_wiki:plesk:php_guide:multi-php-handlers [2016/02/04 20:08] Jackson Zhang created |
litespeed_wiki:plesk:php_guide:multi-php-handlers [2018/05/16 13:31] (current) Eric Leu |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Set mulple lsphp handlers for Plesk + LSWS ===== | ===== 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 file and add the following to your server side <scriptHandlerList>… </scriptHandlerList> section: | + | 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> | <scriptHandler> | ||
<suffix>php56</suffix> | <suffix>php56</suffix> |