PHP setting and versions

#1
Hi,
I have just installed litespeed on my server as a shared hosting. I am new with this and not sure how things works. So my silly question is:
When I do changes in php what php handler should I use? For instance php7.2 or lsphp7.2? If I want to set memory limit = 250MB or post_max_size = 20MB, what php shall use, php7.2 or lsphp7.2?
If I got everything right I should keep using php7.2 and than lsphp are going to use php7.2. It this correct?

Thanks in advance
Rudi
 

Pong

Administrator
Staff member
#2
Are you using cpanel/WHM? Just change php setting in cpanel then. LSWS will use lsphp for sure. PHP7.2 and lsphp7.2 are the same thing, just one binary for apache , one binary for LSWS. Web server will use the right binary automatically. PHP is the same php and same modules.

If not control panel environment, then it is a different story. It will depend on how you configure your apache and LSWS.
 
#3
Hi Pong,
Thank you very much for your help. And yes I’m using cPanel, sorry if I forgot to mention it. I had read so many threads that I was just confused. Thanks again.
 
Top