Differences

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

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:config:cannot_find_lsphp55 [2018/07/20 13:43]
Jackson Zhang [How to fix Can not find External Application: lsphp72 error]
litespeed_wiki:config:cannot_find_lsphp55 [2018/07/20 15:38]
Lisa Clarke Proofreading
Line 1: Line 1:
-===== How to fix "Can not find External Application:​ lsphpxx" error ===== +===== Cannot Find External Application:​ lsphpxx ​Error ===== 
- +Sometimes ​you may experience the following error after installation:​
-Sometime ​you may experience the following error after the installation:​+
  
   2015-06-23 14:​29:​56.297 ERROR [config:​scripthandler] Can not find handler with type: 12, name: lsphpxx.   2015-06-23 14:​29:​56.297 ERROR [config:​scripthandler] Can not find handler with type: 12, name: lsphpxx.
Line 7: Line 6:
   2015-06-23 14:​29:​56.297 ERROR [config:​scripthandler] use static file handler for suffix [phpxx]   2015-06-23 14:​29:​56.297 ERROR [config:​scripthandler] use static file handler for suffix [phpxx]
   ​   ​
-It simply means no lsphpxx external application set up yet. You should create an external app lsphpxx and point a right binary to it.+It simply means that no ''​lsphpxx'' ​external application ​has been set up yet. You should create an external app ''​lsphpxx'' ​and point a relevant ​binary to it.
  
-==== In cPanel EA4 environment ​==== +==== In cPanel EA4 Environment ​==== 
-Most likely you won't see such error since most of the PHP handler ​have been preconfigured. If some occasionnewer version of PHP, such as lsphp72 ​or a future versionmay not be included in LSWS configuration,​ you can manually create ​such lsphp72 external app and point it to ea-php72-lsphp binary, or CL php72 binary when CloudLinux is used. +Most likely you won't see such an error since most of the PHP handlers ​have been preconfigured. If on some occasion ​newer version of PHP, such as ''​lsphp72''​is not included in the LSWS configuration,​ you can manually create ​an ''​lsphp72'' ​external app and point it to the ''​ea-php72-lsphp'' ​binary, or the CL ''​php72'' ​binary when CloudLinux is used. 
  
- +==== In an Old cPanel EA3 Environment ​==== 
-==== In old cPanel EA3 environment ​==== +In cPanel EA3 environment,​ LiteSpeed normally builds matching PHP for 5.4.x. most likely, ​hence no ''​lsphp55''​ or newer is installed. ​
-In cPanel EA3 environment, ​ LiteSpeed normally builds matching PHP most likely ​for 5.4.x hence no lsphp55 installed. ​+
  
 The message itself is absolutely safe to be ignored. If you just like to get rid of the error, you can do either of the following: The message itself is absolutely safe to be ignored. If you just like to get rid of the error, you can do either of the following:
-  * Install lsphp55 and pointing ​the /​usr/​local/​lsws/​fcgi-bin/​lsphp55 to the newly installed binary. +  * Install ​''​lsphp55'' ​and point the ''​/​usr/​local/​lsws/​fcgi-bin/​lsphp55'' ​to the newly installed binary. 
-  * Simply remove lsphp55 handler. +  * Simply remove ​the ''​lsphp55'' ​handler. 
-  * Use any exiting PHP handler as lsphp55, for example: +  * Use any exiting PHP handler as ''​lsphp55''​, for example: ​<​code>​ln -sf /​usr/​local/​lsws/​fcgi-bin/​lsphp5 /​usr/​local/​lsws/​fcgi-bin/​lsphp55</​code>​ This creates a symbolic link to use ''​lsphp5'' ​as the ''​lsphp55'' ​handler. ​Even though it can remove the error alert, ​it is not recommended because ​faked ''​lsphp55'' ​may create ​misunderstanding in the future.  ​
- +
-   ln -sf /​usr/​local/​lsws/​fcgi-bin/​lsphp5 /​usr/​local/​lsws/​fcgi-bin/​lsphp55 +
-The last one creates a symbolic link to use lsphp5 as lsphp55 handler. ​It is not recommended, ​though it can remove the error alert, ​since faked lsphp55 may create misunderstanding in the future.  ​+
  • Admin
  • Last modified: 2018/07/20 15:38
  • by Lisa Clarke