use PHP7.4

jamsheer

Active Member
#1
I have installed PHP74 on the server from repo other than LSPHP. I would like to set up a virtual host to use PHP74. How can I set this up using external app or any other method?
NB: I am using LSnative admin panel to setup virtual host.

Thanks in advance!
 

Pong

Administrator
Staff member
#2
where repo did you install php74 from? Remi? Some repo may not have lsphp built. Make sure it contain the lsphp package.

You can find your answer from our wiki on how to set it up. https://www.litespeedtech.com/support/wiki/doku.php

then LiteSpeed Web Server Enterprise -> External Applications -> PHP -> Native (without a control panel) -> Depend on your system , if Centos, then Installing LSPHP via RPM, it has details on how to setup remi.

Let us know if something not clear there.
 

jamsheer

Active Member
#3
Hello,
Thanks for the reply.
I installed it from remi. http://rpms.remirepo.net/enterprise/7/remi/x86_64/.
The PHP path showing for the installation is below:
/opt/remi/php74/root/usr/bin/lsphp/usr/bin/lsphp74
/usr/bin/lsphp74



I have setup the external app for PHP74 with the path given above in "command" section. But the site or php.info page stops loading when VH is assigned to this ext app.
 

jamsheer

Active Member
#4
@Pong
then LiteSpeed Web Server Enterprise -> External Applications -> PHP -> Native (without a control panel) -> Depend on your system , if Centos, then Installing LSPHP via RPM, it has details on how to setup remi.
I already set this repo and installed all versions till PHP73. But PHP74 is not showing in this repo. While checking it is showing as lsphp74 is not available.
 

Pong

Administrator
Staff member
#5
Can you log a ticket with us by providing your tmp root ssh access to your server? We can check which settings are missed.
 
Top