We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cb218e commit 02a82dbCopy full SHA for 02a82db
README.md
@@ -2,17 +2,18 @@
2
Switch PHP version using bash!
3
4
## Requirements
5
-sudo (restart apache2 & create symlinks)
+
6
+Apache *2.4+* (a2dismod & a2enmod is needed)!
7
8
Install php and mod_php(apache2) for all needed php versions.
9
-Apache a2dismod & a2enmod is needed!
10
+sudo (restart apache2 & create symlinks for CLI linking of PHP)
11
12
## Install
13
14
```
15
curl -L -O https://github.com/mobihack/phpversionswitcher/raw//master/phpswitch.sh
16
chmod +x phpswitch.sh
-
17
18
19
## Usage
@@ -21,8 +22,11 @@ Run from terminal:
21
22
`bash 'phpswitch.sh'`
23
24
This will list all installed php version.
25
26
Enter the php version to switch to.
27
28
Apache is restarted automatically!
29
30
Done!
31
32
## License
0 commit comments