how to change default PHP version for all virtual host?

#1
I have successfully upgrade php5 to php7 on my server, but all virtual host still using php5, how to change default php version for all virtual host?
 

Pong

Administrator
Staff member
#2
Is this LSWS naive? Do you use lsphp from LiteSpeed repository?
If so, most likely you are using external app named "lsphp5". If All your virtual hosts use that, then you can update binary location to php7 one for "lsphp5".

Don't make above change if you are using a control panel like cpanel.
 
Top