PHP 7.4.5 how to upgrade?

I added new repo:

apt install apt-transport-https lsb-release
wget -O /etc/apt/trusted.gpg.d/php.gpg 
sh -c 'echo "deb $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'

Installed PHP:

apt install php7.4

but only CLI was updated. How to set up new PHP on default?

Probaly you missed this part here:

You will find it under Server -> Configure -> Web Server

Checkout the release notes, in special this part here

  • Apache, Nginx + ApacheMultiphp will not be enabled automaticaly since internal mod_php module will be disabled and might cause isues with some apps when switching to php-fpm backend.To enable multiphp run the migration script: $HESTIA/install/upgrade/manual/


1 Like

Без названия