Virtualmin php upgrade

Hello,

The SO / Webmin / Virtualmin versions are:

Operating system CentOS Linux 7.8.2003
Webmin version 1.953 Usermin version 1.802
Virtualmin version 6.10

Actually I’m running FCGId (run as virtual server owner). I uploaded an info.php file to the Virtual server and it shows me that I’m using PHP 7.2.24, however when i connect via SSH and run php -v the version is 5.4.16, I tried to create an alias to change the version but it does not work, also tried to use export path, but does not work.

Does anybody knows what should I do?

Regards,

Orlando Gautier

It’s probably not in the repos you have installed.

Try (if not installed already)

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm

Should be straightforward from there.

Richard

Helo Richard,

Just installed http://rpms.remirepo.net/enterprise/remi-release-7.rpm and it works!

Thanks!

My pleasure.

Richard

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.