I am trying to install the phpize on Ubuntu 20.04 PHP 8.1
I tried following commands but no luck
sudo apt-get install php8.0-dev
E: Unable to locate package php8.0-dev
E: Couldn't find any package by glob 'php8.0-dev'
E: Couldn't find any package by regex 'php8.0-dev'
sudo apt-get install php-dev
php-dev : Depends: php7.4-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sudo apt-get install php8.1-dev
E: Couldn't find any package by glob 'php8.1-dev'
E: Couldn't find any package by regex 'php8.1-dev'
sudo apt update && apt install -y software-properties-common sudo add-apt-repository ppa:ondrej/php sudo apt update and then try
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.