Results 1 to 8 of 8
-
06-24-2020, 10:55 AM #1WHT Addict
- 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 domainsLast edited by merce; 06-24-2020 at 11:00 AM.
-
06-24-2020, 11:41 AM #2Aspiring Evangelist
- 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
-
06-24-2020, 12:29 PM #3WHT Addict
- Join Date
- Mar 2016
- Posts
- 120
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]
(External Application)
_Server LSAPI APVH_xxxxx_Suea-php56Last edited by merce; 06-24-2020 at 12:34 PM.
-
06-24-2020, 12:31 PM #4Junior Guru Wannabe
- 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
ThanksRegards,
Sergey Khristich
Marketing coordinator CloudLinux | KernelCare | Imunify360
-
06-24-2020, 12:36 PM #5WHT Addict
- Join Date
- Mar 2016
- Posts
- 120
-
06-24-2020, 02:24 PM #6Aspiring Evangelist
- Join Date
- May 2020
- Posts
- 392
-
06-24-2020, 02:55 PM #7WHT Addict
- Join Date
- Mar 2016
- Posts
- 120
-
06-24-2020, 09:59 PM #8Aspiring Evangelist
- Join Date
- May 2020
- Posts
- 392
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
-
We offer web hosting plans, with cPanel, CloudLinux, PHP-Selector
By GlowFrogHosting in forum Shared Hosting OffersReplies: 0Last Post: 01-12-2015, 04:20 AM -
We offer web hosting plans, with cPanel, CloudLinux, PHP-Selector, and autoInstallers
By GlowFrogHosting in forum Shared Hosting OffersReplies: 0Last Post: 12-24-2014, 07:47 AM -
We offer web hosting plans, with cPanel, CloudLinux, PHP-Selector, and autoInstallers
By GlowFrogHosting in forum Shared Hosting OffersReplies: 0Last Post: 12-12-2014, 09:09 PM -
We offer web hosting plans, with cPanel, CloudLinux, PHP-Selector, and autoInstallers
By GlowFrogHosting in forum Shared Hosting OffersReplies: 0Last Post: 12-05-2014, 02:52 AM -
CloudLinux PHP Selector Not Working
By EfreeZe in forum Systems Management RequestsReplies: 8Last Post: 08-15-2013, 06:54 AM