Score:0

unable to upgrade php in ubuntu 18.04

za flag

I am trying to update php from 7.2 to 7.4, but getting error. I am trying with the following command as root:

add-apt-repository ppa:ondrej/php

the error:

Error reading https://launchpad.net/api/1.0/~ondrej/ppas: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852) Failed to add key.

Could you please advise how to update php?

Thanks in advance

in flag
Does this answer your question? [Apt-Get Update Failing because of Certificate Validation](https://serverfault.com/questions/1093511/apt-get-update-failing-because-of-certificate-validation)
mk0222 avatar
za flag
I tried it and I get the same error
djdomi avatar
za flag
remember that 1804 will end of support on 04/23 so consider to upgrade. you should retry the above as currently its a duplicate of the already posted notice from Gerald
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.