Skip to content

πŸ”„ Scripts to aid in the setup of and switching between multiple PHP versions in Ubuntu 14.04 LTS or newer

License

Notifications You must be signed in to change notification settings

J87NL/php-switch-script

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

53 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”„ PHP Switch Scripts

This is my tweaked version of https://github.com/rapidwebltd/php-switch-scripts which I use almost daily since 2019.

With this script switching between PHP-versions in Ubuntu is easy!

More info about requirements, checks and usage in the original documentation

Installation

Run setup.sh once.

This may take some time depending on your system and connection speed.

It will require you to enter your password to install new packages.

I added an alias to my /home/{user}/.bash_aliases so I can just run switch from my CLI:

alias switch='sudo /home/switch-php.sh'

Usage

Run switch-php.sh, you can choose to which version you want to switch:

Sources

About

πŸ”„ Scripts to aid in the setup of and switching between multiple PHP versions in Ubuntu 14.04 LTS or newer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%