Which lsphp do i use?

semprot

Well-Known Member
#1
I use php 7.0

In my litespeed external apps, i see :
  • lsphp5
  • lsphp55
  • lsphp71
  • lsphp70
  • lsphp56
  • lsphp54
But when i run this
Code:
ps -aux | grep php
I see this
Code:
[root@main ~]# ps -aux | grep php
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
root      27910  0.0  0.0 142412 14320 ?        Ss   Jan17   0:09 php-fpm: master process (/usr/local/cpanel/etc/php-fpm.conf)
root     185921  0.0  0.0 773344 47172 ?        S    19:25   0:00 lsphp
root     185922  1.1  1.3 18981444 5252032 ?    S    19:25   0:04 lsphp5
root     185923  1.3  0.0 872692 150764 ?       S    19:25   0:04 lsphp
nobody   188674  0.0  0.0 18983716 8668 ?       S    19:27   0:00 lsphp5
USER2  195548  0.0  0.0 873444  5680 ?        S    19:31   0:00 lsphp
USER1    195553 27.0  0.0 878132 19828 ?        S    19:31   0:00 lsphp
USER1    195559 21.5  0.0 880168 21008 ?        S    19:31   0:00 lsphp
USER1    195569 10.0  0.0 878120 18456 ?        S    19:31   0:00 lsphp
USER2  195570  0.0  0.0 873444  5664 ?        S    19:31   0:00 lsphp
USER1    195571  5.0  0.0 878120 18072 ?        S    19:31   0:00 lsphp
USER1    195572 12.0  0.0 878124 18856 ?        R    19:31   0:00 lsphp:/home/USER1/public_html/index.php
USER1    195573  1.0  0.0 874408 13640 ?        S    19:31   0:00 lsphp
USER1    195574  1.0  0.0 874408 13640 ?        S    19:31   0:00 lsphp
USER1    195575  9.0  0.0 880172 18572 ?        R    19:31   0:00 lsphp:/home/USER1/public_html/index.php
USER1    195576  9.0  0.0 878120 18272 ?        S    19:31   0:00 lsphp
USER1    195577 10.0  0.0 880172 17972 ?        R    19:31   0:00 lsphp:/home/USER1/public_html/index.php
USER1    195578  7.0  0.0 878120 18108 ?        S    19:31   0:00 lsphp
root     195580  0.0  0.0 103312   904 pts/0    S+   19:31   0:00 grep php
It only says "lsphp". I am confused which lsphp do i use?
 

semprot

Well-Known Member
#3
@Pong : i use EA 4 too.
So if in cpanel i set a domain to use PHP 7.0x, then it should use lsphp70 automatically, although in linux process list, it is still named "lsphp", not something like "lsphp70"? :confused:
 

Pong

Administrator
Staff member
#8
Can you explain a little bit more what do you think a little complicated? Do you mean EA4 multi-php design? or something else?

For cPanel EA4, it has multi-php support, but LiteSpeed works with it out of the box without any extra configuration. You may not need to worry about any configuration behind, and simply choose the version for your domains.
 
Top