- Download the phpversion.sh
- Run command
sudo sh path-to-the-file/phpversion.sh
- It will ask which version you want to install suppose you need
php7.2
than enterphp7.2
press enter. - Than it will ask you which version you want to disable that is your current php version for checking your current phpversion you can run command
php -v
. Suppose you have php7.1 than you need to enterphp7.1
than press enter. - Great you have done a good job now verify your php version by using command
php -v
.
-
Notifications
You must be signed in to change notification settings - Fork 1
Hestabit/switchphpversion
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Bash that help you to change phpversion
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published