Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dan3460's avatar

Ubuntu and PHP > 7.1

I'm trying to confirm a suspicion. I'm running a couple of server on Vultr one of them has Ubuntu 17.10, i see on the site that this version (17.XX) is no longer available. You can still get 16 or 18 or 19. I need to update PHP to more than 7.20 and i'm having a very difficult time, the system keeps telling me that could not find 7.2 (nor 7.3 when i tried to upgrade to that one). I'm suspecting that there is no version better than 7.1 for that flavor of Ubuntu. Is that correct?

0 likes
7 replies
dan3460's avatar

That is the guide that i followed. Cannot find php 7.2.

dan3460's avatar

how would you upgrade to 7.2 or 7.2 afterwards? I have never used homebrew.

dan3460's avatar

Don't know, it doesn't feel right. It seems to me that the above command will install a new version of PHP instead of upgrading. I have been running this server for 2 years now, i have upgraded from 6.X to the 7.1 and don't remember having any trouble. I thought this upgrade would have been a 1/2 Saturday morning upgrade, now is turning into an endeavor. I'm afraid of braking the two apps running on the server. Going home and rethink.

Amaury's avatar

You're right… I will never do it in production without doing the same on my local server and test everything!

Please or to participate in this conversation.