DEV Community


Posted on


Change version Php

Look how change version of php on Ubuntu

Type this:

update-alternatives --config php

You now select the version that like and Done

Latest comments (0)

Yes, this is technically an “ad”, but hear me out.

We have 900k+ developers reading, posting, and enjoying community, and would love to have you.

Create an account and continue your coding journey.