Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

249
Visualizações
I can't upgrade nginx PHP version to latest on ubuntu 16

I have tried to upgrade the PHP version. but I just get errors.

I tried this tutorial.

apt update
apt upgrade

apt install software-properties-common
add-apt-repository ppa:ondrej/nginx

apt update
apt upgrade

apt install php8.0 php8.0-cli php8.0-fpm php8.0-apcu php8.0-opcache 
php8.0-common php8.0-pear php8.0-curl php8.0-zip php8.0-mcrypt php8.0-mysql 
php8.0-mbstring php8.0-xml php8.0-gd php8.0-gmagick php8.0-imagick 
php8.0-xmlrpc php7.3-maxminddb

but I get this error.

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php8.0
E: Couldn't find any package by glob 'php8.0'
E: Couldn't find any package by regex 'php8.0'
E: Unable to locate package php8.0-cli
E: Couldn't find any package by glob 'php8.0-cli'
E: Couldn't find any package by regex 'php8.0-cli'
E: Unable to locate package php8.0-fpm
E: Couldn't find any package by glob 'php8.0-fpm'
E: Couldn't find any package by regex 'php8.0-fpm'
E: Unable to locate package php8.0-apcu
E: Couldn't find any package by glob 'php8.0-apcu'
E: Couldn't find any package by regex 'php8.0-apcu'
E: Unable to locate package php8.0-opcache
...

How can I solve this problem?

I have tried my tutorial. but just get same error like this.

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

Try apt full-upgrade and apt upgrade and the last command apt get update try this three command, and restart the machine it will resolve.

over 4 years ago · Santiago Trujillo Relatório

0

As stated in the ppa description:

Only Supported Versions of PHP (http://php.net/supported-versions.php) for Supported Ubuntu Releases (https://wiki.ubuntu.com/Releases) are provided.

Ubuntu 16.04 is no longer supported since April 2021, so I think there is also no longer a xenial branch of php 8.0. I'd suggest to upgrade Ubuntu to ver. 20.04 LTS in order to be able to use php 8.0

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda