Php help issue after updating ubuntu server

Exemple :
When someone tell you :
sudo apt install php-curl

You have to write it like this to be sure :
sudo apt install php7.3-curl

Redo your installation with this in mind

1 Like

Ok I will try this

Building dependency tree       
Reading state information... Done
Package php7.3-curl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php7.3-curl' has no installation candidate

I get this for eveything i try to install with php7.3

You are on Ubuntu 20.04 ?

1 Like

Yes Ubuntu 20.04 LTS (GNU/Linux 5.4.0-29-generic x86_64)

This ubuntu is bundled with php 7.4 by default you can’t install php7.3 by just apt install you have to install a non official repo for this.

Search for install php7.3 ubuntu 20.04

1 Like

How do I update from CLI?

You can’t because you don’t have php7.3 the upgrade process can’t be lunched

1 Like

So what can I do?

Reinstall on Debian 10 or similar.

Or pay someone to manage nextcloud for you.

Or upgrade to v18.

2 Likes

Follow a how to install php7.3 on ubuntu 20.04
Then migrate then uninstall 7.3

1 Like

I am not just running nextcloud i am running a lot more on my server,

OK so your option is to upgrade to v18 or figure out how to downgrade to 7.3.

1 Like

How could I downgrade to 7.3?

Upgrading ubuntu when you have a lot of thing on your server is silly.
Ubuntu have always the last software, then your service won’t like the last php7.4 because they rely on old versions

1 Like

I don’t use 20.04 and I doubt very many people here do. Try finding the .deb packages and manually install them.

1 Like

what is a .deb package?

Reinstall on 18.04 or debian 10 or upgrade to v18.

Other then that you need to hire someone to do this for you.

1 Like

Nate can still upgrade. He just has to go through a manual upgrade and it doesn’t sound like he can do that task.

Rock and hard place. Don’t upgrade your OS again without testing first.

1 Like