Saturday, November 15, 2025
Latest:
  • What are the main differences between ApplicationContext and BeanFactory?
  • German B1 Word list
  • How does Lazy annotation work in Spring?
  • How Spring framework resolves circular dependencies?
  • German Pronouns with Nominative, Accusative, and Dative cases
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

du commands

May 29, 2022 beroza

Left shift operator

December 19, 2023 beroza

Redistribute Characters to Make All Strings Equal

December 30, 2022 beroza

How to add multiple language support in ReactJS with i18next and react-i18next?

September 30, 2020 beroza

Write a Program to Find Lexicographically Smallest Palindrome

June 3, 2023 beroza

Find repeating elements in a given array

November 19, 2021 beroza

How to use setInterval efficiently in JavaScript?

October 27, 2021 beroza

req.body undefined in express.js

November 14, 2021 beroza

How to check an object is empty in JavaScript?

August 13, 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.