Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2016
    Posts
    120

    help settings cloudlinux php selector with litespeed

    Hello i have a doubt about setup cloudlinux php alt with litespeed server, because i have issues with random 404 errors on existing pages, so i need to check if i have configured this correctly.

    first i installed cpanel, cloudlinux and then litespeed using their auto setup https://www.litespeedtech.com/suppor...auto-installer

    on my WHM MultiPHP settings i have PHP-FPM turn OFF and ea-php56 selected as system version. On litespeed server i have enabled PHP suEXEC.

    So my question comes because when litespeed starts and detects EasyApache ea-php's and CloudLinux alt php's versions automatically, everything seems fine but why all my process run under pid Suea-php56, is that normal? ...


    2020-06-24 16:36:22.684916 INFO [737609] [APVH_XXXXX_Suea-php56:]: locked pid file [/tmp/lshttpd/APVH_XXXXX_Suea-php56.sock.pid].
    2020-06-24 16:36:22.684927 INFO [737609] [APVH_XXXXX_Suea-php56:] remove unix socket for detached process: /tmp/lshttpd/APVH_XXXXX_Suea-php56.sock
    2020-06-24 16:36:22.685901 INFO [737609] [APVH_XXXXX_Suea-php56:] add child process pid: 796428, procinfo: 0x19bfe50
    2020-06-24 16:36:22.685944 INFO [737609] [APVH_XXXXX_Suea-php56:]: unlocked pid file [/tmp/lshttpd/APVH_XXXXX_Suea-php56.sock.pid].

    In that cpanel account from logs, i have cloudlinux working with PHP7.4 from selector on my domain (if i access phpinfo file show php7.4). I wanted to know if is normal litespeed admin show all pid under Suea-php56? even from different accounts or domains
    Last edited by merce; 06-24-2020 at 11:00 AM.

  2. #2
    Join Date
    May 2020
    Posts
    392
    Hi friend,

    -I have CloudLinux + WHM/cPanel + LiteSpeed
    -In my servers I have PHP 7.3 selected as system version
    -PHP-FPM turn Off (if you go to "MultiPHP Manager" you will can read this message: "The system detected a LiteSpeed Web Server installation. As a result, the system disabled all PHP-FPM settings.")
    -CafeFS enabled
    -Mod_lsapi isn't a problem, because when you install LiteSpeed he will execute her lsapi version and will ignore CloudLinux's lsapi
    -When you install LiteSpeed, he will detect CloudLinux and configure automatically all things, you not need change anything (the LiteSpeed support told me this when I bought her software at first time)

    I not have errors, where you readed this log errors?. Tell me the file name for can check him.

    Have nice day!
    Professional Programmer

  3. #3
    Join Date
    Mar 2016
    Posts
    120
    Quote Originally Posted by ServermanZero View Post
    Hi friend,

    -I have CloudLinux + WHM/cPanel + LiteSpeed
    -In my servers I have PHP 7.3 selected as system version
    -PHP-FPM turn Off (if you go to "MultiPHP Manager" you will can read this message: "The system detected a LiteSpeed Web Server installation. As a result, the system disabled all PHP-FPM settings.")
    -CafeFS enabled
    -Mod_lsapi isn't a problem, because when you install LiteSpeed he will execute her lsapi version and will ignore CloudLinux's lsapi
    -When you install LiteSpeed, he will detect CloudLinux and configure automatically all things, you not need change anything (the LiteSpeed support told me this when I bought her software at first time)

    I not have errors, where you readed this log errors?. Tell me the file name for can check him.

    Have nice day!
    On litespeed admin panel https://hostname:7080 under server log viewer
    2020-06-24 18:25:30.061930 INFO [737609] Process with PID: 874686 is dead
    2020-06-24 18:26:14.251251 INFO [737609] [APVH_cnkald_Suea-php56:]: locked pid file [/tmp/lshttpd/APVH_cnkald_Suea-php56.sock.pid].
    2020-06-24 18:26:14.251264 INFO [737609] [APVH_cnkald_Suea-php56:] remove unix socket for detached process: /tmp/lshttpd/APVH_cnkald_Suea-php56.sock
    2020-06-24 18:26:14.252574 INFO [737609] [APVH_cnkald_Suea-php56:] add child process pid: 875919, procinfo: 0x1aad830
    2020-06-24 18:26:14.252640 INFO [737609] [APVH_cnkald_Suea-php56:]: unlocked pid file [/tmp/lshttpd/APVH_cnkald_Suea-php56.sock.pid]
    and real time stats
    (External Application)
    _Server LSAPI APVH_xxxxx_Suea-php56
    i want to know if is normal, these processes running Suea-php56.sock.pid with a cpanel account which have php7.4 selected
    Last edited by merce; 06-24-2020 at 12:34 PM.

  4. #4
    Join Date
    May 2019
    Posts
    38
    Hello,
    You need to make sure that LiteSpeed is currently used on the server, not Apache.
    You can do this using:
    #service httpd status
    The command output should contain a message about LiteSpeed (or lshttpd) is running.
    Also output from
    #ps aux| grep php
    should show a list of lsphp processes - it means LiteSpeed is processing PHP.
    If there are php processes - it means that LightSpeed is not turned on.
    The documentation about PHP Selector + LiteSpeed will also be useful to you, according to it you can check your settings https://docs.cloudlinux.com/cloudlin...espeed-support
    Thanks
    Regards,
    Sergey Khristich
    Marketing coordinator CloudLinux | KernelCare | Imunify360

  5. #5
    Join Date
    Mar 2016
    Posts
    120
    Quote Originally Posted by skhristich View Post
    Hello,
    You need to make sure that LiteSpeed is currently used on the server, not Apache.
    You can do this using:
    #service httpd status
    The command output should contain a message about LiteSpeed (or lshttpd) is running.
    Also output from
    #ps aux| grep php
    should show a list of lsphp processes - it means LiteSpeed is processing PHP.
    If there are php processes - it means that LightSpeed is not turned on.
    The documentation about PHP Selector + LiteSpeed will also be useful to you, according to it you can check your settings https://docs.cloudlinux.com/cloudlin...espeed-support
    Thanks
    Yes, litespeed is running i installed everything according their guide just wanted to know the thing about pid's running Suea-php56.sock.pid if i have selected a php7.4 on cpanel

  6. #6
    Join Date
    May 2020
    Posts
    392
    Quote Originally Posted by merce View Post
    Yes, litespeed is running i installed everything according their guide just wanted to know the thing about pid's running Suea-php56.sock.pid if i have selected a php7.4 on cpanel
    I'm not expert, but maybe you should reboot the server for restart all processes?.

    If you installed LiteSpeed maybe the server still are using old Apache processes.

    Have nice day.
    Professional Programmer

  7. #7
    Join Date
    Mar 2016
    Posts
    120
    Quote Originally Posted by ServermanZero View Post
    I'm not expert, but maybe you should reboot the server for restart all processes?.

    If you installed LiteSpeed maybe the server still are using old Apache processes.

    Have nice day.
    already restarted everything and nothing changed

    can you please check on your litespeed admin panel (on real time stat or log) if all external aplication processes runs under the same pid like mine?

    Suea-php56.sock.pid

    i'll would be really helpfull

    thank you

  8. #8
    Join Date
    May 2020
    Posts
    392
    Quote Originally Posted by merce View Post
    already restarted everything and nothing changed

    can you please check on your litespeed admin panel (on real time stat or log) if all external aplication processes runs under the same pid like mine?

    Suea-php56.sock.pid

    i'll would be really helpfull

    thank you
    Hi,

    I checked him and not have any errors.

    Too you need know I have disable PHP 5.6, I only use in my servers this versions: PHP 7.2, PHP 7.3 and PHP 7.4

    I cannot have: Suea-php56.sock.pid

    You need know that you can install TRIAL version in any server (for example VPS) and do tests: https://www.litespeedtech.com/suppor...ugin-installer

    If you need that I check anything tell me, but I not have many knowledge in server management. Have nice day.
    Professional Programmer

Similar Threads

  1. We offer web hosting plans, with cPanel, CloudLinux, PHP-Selector
    By GlowFrogHosting in forum Shared Hosting Offers
    Replies: 0
    Last Post: 01-12-2015, 04:20 AM
  2. Replies: 0
    Last Post: 12-24-2014, 07:47 AM
  3. Replies: 0
    Last Post: 12-12-2014, 09:09 PM
  4. Replies: 0
    Last Post: 12-05-2014, 02:52 AM
  5. CloudLinux PHP Selector Not Working
    By EfreeZe in forum Systems Management Requests
    Replies: 8
    Last Post: 08-15-2013, 06:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •