Locates and lists the currently installed PHP-Versions of a Linux and let's you switch between them.
sh ./phpswitcher
# or
bash ./phpswitcher
# Add to your `~/.profile`|`~/.bashrc`|`~/.zshrc` file
export PATH="/path/to/phpswitcher:$PATH"
# make the binary executable
chmod +x /path/to/phpswitcher
-
sudo privileges
-
update-alternatives
-
sed
-
Shell
-
Bash
- Ubuntu Terminal
- ZSH
- Terminator
- Xterm
- Tilix