Skip to main content
Version: 4.1

PHP Compatibility

Hypervisor Specific

From time to time we release new versions of PHP for your hypervisor. This allows us to keep VirtFusion up to date. If you don't update your hypervisor level software often enough (DNF/APT) you may run into issues with VirtFusion.

To update to the latest version of PHP you can run the following commands.

Important

Running the following commands may disrupt the connection between the control server and hypervisor. Make sure no server tasks are running. Ideally put the control server into maintenance mode.

Debian/Ubuntu

apt update
apt install vf-php8 vf-system-php8
systemctl restart vf-php8-fpm
systemctl restart vf-system-php8-fpm

RHEL

dnf clean metadata
dnf update vf-php8 vf-system-php8
systemctl restart vf-php8-fpm
systemctl restart vf-system-php8-fpm

Your hypervisor should now be on the latest PHP version.

(Re) Installing the VirtFusion Package Repository

Important

You don't need to take this step unless you are still having issues with PHP. You also don't need to take this step if you are not using RHEL 8 or Debian 11

Very early versions of VirtFusion used a different package repository and your installation may still be using it. You can add our newer repository using the following commands.

RHEL 8 Only

dnf config-manager --add-repo https://packages.virtfusion.net/rhel/virtfusion.repo
dnf clean metadata
dnf update vf-php8 vf-system-php8
systemctl restart vf-php8-fpm
systemctl restart vf-system-php8-fpm

Debian 11 Only

echo "deb http://packages.virtfusion.net/debian bullseye main" > /etc/apt/sources.list.d/virtfusion.list
curl -s https://security.virtfusion.net/gpg.asc | gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/virtfusion.gpg --import
chmod 644 /etc/apt/trusted.gpg.d/virtfusion.gpg
apt update
apt remove vf-php8 vf-system-php8
apt install vf-php8 vf-system-php8
systemctl restart vf-php8-fpm
systemctl restart vf-system-php8-fpm
Still having issues?

If you are still having issues with PHP. You can submit a support ticket for further assistance.