Horje
how to switch php version on ubuntu Code Example
switch php version ubuntu
# From PHP 7.1 => PHP 5.6

#Apache
sudo a2dismod php7.1
sudo a2enmod php5.6
sudo service apache2 restart
 
 #command Line
 sudo update-alternatives --set php /usr/bin/php5.6
change php version ubuntu
$ sudo update-alternatives --config php
 or
$ sudo a2enmod php7.1(version)
how to switch php version on ubuntu
sudo update-alternatives --config php
switch php version ubuntu
$ sudo update-alternatives --set php /usr/bin/php7.1
$ sudo update-alternatives --set phar /usr/bin/phar7.1
$ sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.1




Shell

Related
ufw allow port range Code Example ufw allow port range Code Example
how to uninstall neovim on linux Code Example how to uninstall neovim on linux Code Example
chmod: Unable to change file mode Operation not permitted Code Example chmod: Unable to change file mode Operation not permitted Code Example
snap install docker Code Example snap install docker Code Example
nmap linux Code Example nmap linux Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10