CPANEL PHP-FPM Integration Questions

#1
Hi,

I have installed in a CPANEL server , very quick and smoothly

I have the following questions :
- My site was in 5.6 when installed LITESPEED I tried to switch to 7.2 via CPANEL switch
When I executed phpinfo then phpinfo remains 5.6
PHP Version 5.6.40
and bellow I see
Code:
Server APILiteSpeed V7.2
Virtual Directory Support disabled
Configuration File (php.ini)
Path/opt/cpanel/ea-php56/root/etcLoaded Configuration File/opt/cpanel/ea-php56/root/etc/php.iniScan this dir for additional .ini files/opt/cpanel/ea-php56/root/etc/php.d
Why happens that ?
How I can change php from CPANEL ?

Because its not clear to me , please clarify :
PHP-FPM -> CPANEL be ON or OFF
PHP Version PHP Handler -> CGI according to this
https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cpanel:easyapache4-config

LSAPI is installed
Code:
[root@srv ~]# find /opt/cpanel/ -name lsphp
/opt/cpanel/ea-php56/root/usr/bin/lsphp
/opt/cpanel/ea-php71/root/usr/bin/lsphp
/opt/cpanel/ea-php72/root/usr/bin/lsphp
/opt/cpanel/ea-php70/root/usr/bin/lsphp
[root@srv ~]#
Why in phpinfo DONT see correct version ?
 
Last edited by a moderator:

NiteWave

Administrator
#3
litespeed don't use PHP-FPM

please switch to apache, and see if the issue still there.
if no issue on apache, but issue on litespeed, then the issue might be litespeed specific.

if issue exists on apache as well, please fix it first, and can ask help from cPanel.
usually when issue is fixed on apache, switch to litespeed, the issue is gone as well.
since the issue actually not litespeed specific.
 
Top