We are trying to install PHP 7.4 to Ubuntu 18.10.
We tried all the following commands, but it always shows errors like E: Couldn't find any package by regex 'php7.4'
sudo apt-get install php7.4 sudo apt install php7.4 sudo apt-get install -y php7.4
We also tied to install 7.3 but had the same issue.