|
1 | | -# PHP Switch Scripts |
| 1 | +# 🔄 PHP Switch Scripts |
2 | 2 |
|
3 | 3 | These scripts are designed to aid in the setup of and switching between multiple PHP versions in Ubuntu 16.04 LTS.
|
4 | 4 |
|
5 | | -Currently they support switching to the following versions of PHP: |
| 5 | +<imgsrc="assets/images/usage.png" /> |
6 | 6 |
|
7 | | -* 5.6 |
8 | | -* 7.0 |
9 | | -* 7.1 |
10 | | -* 7.2 |
11 | 7 |
|
12 | 8 | Please note that these scripts install packages from a third-party repository, provided by [Ondřej Surý](https://twitter.com/oerdnj). More details are available at the repository's [website](https://deb.sury.org/), [PPA page on Launchpad](https://launchpad.net/~ondrej/+archive/ubuntu/php/) and [Twitter account](https://twitter.com/debsuryorg).
|
13 | 9 |
|
@@ -59,6 +55,8 @@ Once setup is complete, you can easily switch between different PHP versions usi
|
59 | 55 | ```
|
60 | 56 | ./switch-to-php-5.6.sh
|
61 | 57 | ./switch-to-php-7.0.sh
|
| 58 | +./switch-to-php-7.1.sh |
| 59 | +./switch-to-php-7.2.sh |
62 | 60 | ```
|
63 | 61 |
|
64 | 62 | This will alter the versions of PHP running in Apache and the command line. Your password will be required to enable/disable Apache modules, restart the web server and alter the default PHP CLI version.
|
|
0 commit comments