How do I swap out the default php for php 7.4?

#1
I've installed Litespeed and have managed to get a vhost running.
I've done this by basically copying the config from the default vhost.
Looking at the phpinfo for both vhosts omegle I can see that xender the php version being used is 7.3.
I'd like to use 7.4

I've figured out that Litespeed comes with it's own php packages.
Under /usr/local/lsws I can see two directories: lsphp73 and lsphp74.

How can I switch my vhosts over from 7.3 to 7.4?
 
Last edited:

Pong

Administrator
Staff member
#2
You can check here on how to install different version of PHPs and how to make them work. https://docs.litespeedtech.com/extapp/php/

but normally you should use a control panel since you won't have such question any more and you can easily change version from the control panel, such as Cpanel or Cyberpanel.
 
Top