Php version not changing

ViAdCk

Verified User
Hello,

One of our clients is running a vps with litespeed and we are seeing a strange behaviour with the php version. When we upload a phpinfo file inside the user domain it shows php 7.1 but the version installed on the vps is php 7.0.

We have recompiled php a couple of times but it still shows the old version.

Any idea what could be going on?

Regards
 

zEitEr

Super Moderator
Hello,

Code:
cat /home/[B]user[/B]/domains/[B]domain.com[/B]/public_html/.htaccess


<Files *.php>
    ForceType application/x-httpd-php71
</Files>
??
 

ViAdCk

Verified User
Hello,

There is no reference regarding the php version in the htaccess file. But there is only one version installed on the vps (php7.0) but phpinfo is showing php7.1. It also says it was built in april, but we have rebuilt php a couple of times in the last days.

For some reason the php version is not updating, despite showing the new version from the command line.

Regards
 

zEitEr

Super Moderator
We had probably a similar issue recently. Solved with litespeed + php recompilation and with ./build rewrite_confs. You might try the same.
 
Top