Saturday, April 4, 2026
Latest:
  • In German, verb sein (to be) Konjunktion
  • Wichtige wörter für B1 prüfung
  • What are the main differences between ApplicationContext and BeanFactory?
  • German B1 Word list
  • How does Lazy annotation work in Spring?
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

What is for…of loop in JavaScript?

May 21, 2019 beroza

Insert character after every n characters

February 11, 2022 beroza

How to empty a file in linux?

May 17, 2019 beroza

How to check the installed Ubuntu version?

May 7, 2020 beroza

How to do SFTP using pem file from command line?

May 17, 2019 beroza

Find the missing number in the array using JavaScript.

February 10, 2022 beroza

Add new users to an Amazon EC2 Ubuntu instance and allow SSH access

July 22, 2020 beroza

Positions of Large Groups

December 27, 2022 beroza

if-else statements inside JSX does not work in ReactJS

September 5, 2019 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 © 2026 Upokary. All rights reserved.