Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

How to check if there are multiple versions of PHP installed on Ubuntu 12.04 LTS?



I use the following command to view installed PHP versions in Ubuntu:

sudo update-alternatives --list php

Second way go to php directory where all PHP version configuration file stored:

cd /etc/php 
dir 

Output:

 > 5.6  7.0  7.1
Comment

PREVIOUS NEXT
Code Example
Shell :: check time in linux 
Shell :: ubuntu docker host ip 
Shell :: composer global install 
Shell :: git diff show only files 
Shell :: find text in all files linux 
Shell :: gitlab remove branch 
Shell :: how to install blackeye bash 
Shell :: Push github repo in command line 
Shell :: git pull branch 
Shell :: zsh: command not found: aws 
Shell :: what are the ubuntu packages required for laravel to be installed 
Shell :: set origin url git 
Shell :: fatal: remote origin already exists. 
Shell :: enzyme npm install 
Shell :: wsl --install 
Shell :: pacman uninstall 
Shell :: powershell create file content 
Shell :: how to add a custom zsh aliases 
Shell :: git stash docs 
Shell :: how to prevent ubuntu from sleeping when lid is closed 
Shell :: git clone repo with name 
Shell :: ssh without password 
Shell :: how to download a text file with curl 
Shell :: github add image readme 
Shell :: git merge vs git merge --no-ff 
Shell :: git view changes in commit 
Shell :: install nvm mac with brew 
Shell :: http-server mac install 
Shell :: linux move all files up a directory 
Shell :: how to change the web default browser in linux 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =