Sunday, October 5, 2025
Latest:
  • German Pronouns with Nominative, Accusative, and Dative cases
  • German articles for the nominative, accusative, and dative cases
  • Der kleine Vogel und die Sonne
  • German alphabet pronunciation
  • Command design pattern
Upokary

Upokary

Quality information

  • Health
  • Life
  • Fashion
  • Food
  • Code
  • English
  • বাংলা
Technology 

How to check multiple PHP versions available on Ubuntu?

Published: July 15, 2021Last updated: July 15, 2021 multiple PHP, PHP version, ubuntu

In many cases, we may need to change the PHP version to the latest version. We might need to check available PHP versions on the server.

If we are in debian or ubuntu system, then it relatively easy. We can use the following command to check available PHP versions:

$ cd /etc/php
$ ls -l
// Output
// 5.6 
// 7.0 
// 7.1 
// 8.0

You May Also Like

How to become an AI developer?

October 5, 2024 beroza

How to copy an object in JavaScript?

August 26, 2021 beroza

How to load ads using Single Request Architecture in Google Publisher Tag?

June 30, 2021 beroza

How to get element by class name in JavaScript?

June 10, 2021 beroza

How to change default node version using NVM?

September 16, 2021 beroza

Count the Digits That Divide a Number

January 7, 2023 beroza

How to conditionally apply class attributes in ReactJS?

September 13, 2019 beroza

Write a Program to Find Subarrays With Equal Sum

May 14, 2023 beroza

Free public APIs for programmers

November 11, 2021 beroza

Why Upokary?

Upokary.com is a useful application in everyday life. It provides very handy information regarding every aspect of life. Each and every tip of upokary.com is meant to make life better.

Upokary tools

  • Youtube thumbnail
  • Youtube video downloader

Useful Links

  • Handy code
  • Technology
  • People
  • Programming
  • Quote
  • Travel
  • WordPress
  • IELTS
  • Kids

Pages

  • Sitemap
  • Privacy policy
  • About us
  • Contact us

Support

For any kind of query or question please drop a message in the following email: upokary@gmail.com
Copyright © 2025 Upokary. All rights reserved.