Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:other-ext-apps:apache-mod-perl-equivalent [2019/04/24 20:21]
Lisa Clarke [lscgid: execve() No such file error] Copyediting
litespeed_wiki:other-ext-apps:apache-mod-perl-equivalent [2020/08/27 18:30]
Jackson Zhang [For a Control Panel Environment]
Line 10: Line 10:
  
 {{ :​litespeed_wiki:​other-ext-apps:​lsperld-ext-app-handler.png?​600 |}} {{ :​litespeed_wiki:​other-ext-apps:​lsperld-ext-app-handler.png?​600 |}}
 +
 +
 +    <​extProcessor>​
 +      <​type>​fcgi</​type>​
 +      <​name>​PerlFastCGI</​name>​
 +      <​address>​uds://​tmp/​lshttpd/​perl.sock</​address>​
 +      <​maxConns>​35</​maxConns>​
 +      <​env>​FCGI_PERL_MAX_REQ=1000</​env>​
 +      <​env>​LSAPI_CHILDREN=35</​env>​
 +      <​initTimeout>​60</​initTimeout>​
 +      <​retryTimeout>​0</​retryTimeout>​
 +      <​persistConn>​1</​persistConn>​
 +      <​pcKeepAliveTimeout>​30</​pcKeepAliveTimeout>​
 +      <​respBuffer>​0</​respBuffer>​
 +      <​autoStart>​1</​autoStart>​
 +      <​path>/​usr/​local/​lsws/​fcgi-bin/​lsperld.fpl</​path>​
 +      <​backlog>​100</​backlog>​
 +      <​instances>​1</​instances>​
 +      <​memSoftLimit>​2074M</​memSoftLimit>​
 +      <​memHardLimit>​2074M</​memHardLimit>​
 +      <​procSoftLimit>​400</​procSoftLimit>​
 +      <​procHardLimit>​500</​procHardLimit>​
 +    </​extProcessor>​
 +
 +   <​scriptHandler>​
 +      <​suffix>​pl</​suffix>​
 +      <​type>​fcgi</​type>​
 +      <​handler>​PerlFastCGI</​handler>​
 +    </​scriptHandler>​
 +
 +
  
 Restart LiteSpeed Web Server. Restart LiteSpeed Web Server.
Line 92: Line 123:
 ===== Troubleshooting ===== ===== Troubleshooting =====
  
-==== Installation error ====+==== Installation error on LSWS native ​====
 Without the ''​perl-CPAN''​ package installed, installation may run into the following error: Without the ''​perl-CPAN''​ package installed, installation may run into the following error:
   Can't locate CPAN.pm in @INC (@INC contains: /​usr/​local/​lib64/​perl5 /​usr/​local/​share/​perl5 /​usr/​lib64/​perl5/​vendor_perl /​usr/​share/​perl5/​vendor_perl /​usr/​lib64/​perl5 /​usr/​share/​perl5 .).   Can't locate CPAN.pm in @INC (@INC contains: /​usr/​local/​lib64/​perl5 /​usr/​local/​share/​perl5 /​usr/​lib64/​perl5/​vendor_perl /​usr/​share/​perl5/​vendor_perl /​usr/​lib64/​perl5 /​usr/​share/​perl5 .).
  • Admin
  • Last modified: 2023/03/25 14:06
  • by Lisa Clarke