Not able to install PECL for php 7.3 in ubuntu 20.04 LTS

Solution 1:

Ubuntu 20.04 main repositories support PHP 7.4.

To install 7.3, you will need to use a different source, such as the popular PPA by Ondřej Surý.

$ sudo apt install software-properties-common
$ sudo add-apt-repository ppa:ondrej/php
$ sudo apt update
$ sudo apt install autoconf zlib1g-dev php7.3-dev php-pear