Check PHP Version Ubuntu Linux Distro Command

PHP Command Ubuntu

In this article I will give the command to check php version on Ubuntu Linux Distro and also for other distros.

PHP (PHP: Hypertext Preprocessor) is an open source server side programming language that was first created by Rasmus Lerdorf in 1995.

Some types of servers that are often used and by default there are PHP are Nginx, Apache and LiteSpeed.

PHP is cross platform that can be run on various OS such as Windows, Mac OS and Linux, so this is one of the things that makes PHP very popular.

Check PHP Version Command

Check PHP Version Ubuntu Linux Distro Command

To check the PHP version available locally or on the server, open a terminal. The command used is very simple:

php -v
## or ##
php --version

Hopefully this Check PHP Version Ubuntu article is useful.

Read more:
> PHP Warning require vendor codeigniter4 framework
> PHP Fatal error Uncaught ArgumentCountError array_merge()
> Error undefined constant MYSQLI STORE RESULT
> How to Install Composer 2 On Ubuntu
> Fatal error Uncaught TypeError ftp_nlist() WordPress
> Your requirements could not be resolved to an installable

Similar Posts