I'm trying to install an older version of PHP 8.0 in my ubuntu the version is 8.0.14 I tried several ways ...
sudo add-apt-repository --yes ppa:ondrej/php
sudo apt install php8.0.14
I get this error message
E: Unable to locate package php8.0.14
E: Couldn't find any package by glob 'php8.0.14'
and when Installing php8.0 I get the newer build which I don't need
PHP 8.0.19 (cli) (built: May 17 2022 18:48:59) ( NTS )
I also tried to compile it from source but the process takes a lot of time and fails every time ...
So is there any good way that I'm missing, or an auto bash script that installs a specific php version of user choice ?
sudo apt install php8.0
work?