File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -13,33 +13,35 @@ Download the latest release by heading over to our [releases](https://github.com
13
13
14
14
## Usage
15
15
16
+ ### Listing installed PHP versions
17
+
18
+ To list all the installed PHP versions, simply run the following command:
19
+
20
+ ``` sh
21
+ php-ch list
22
+ ```
23
+
16
24
### Switching PHP versions
17
25
18
26
To switch to a different version of PHP, simply run the following command:
19
27
20
- ``` cmd
28
+ ``` sh
21
29
php-ch set [version]
22
30
```
23
31
24
- Currently supported PHP versions are:
25
- 7.4
26
- 8.0
27
- 8.1
28
- 8.2
29
-
30
32
### Editing php.ini file
31
33
32
34
You can edit the php.ini file for the current PHP version by running the following command:
33
35
34
- ``` cmd
36
+ ``` sh
35
37
php-ch ini
36
38
```
37
39
38
40
### Editing php.ini file for a specific PHP version
39
41
40
42
You can edit the php.ini file for a specific PHP version by running the following command:
41
43
42
- ``` cmd
44
+ ``` sh
43
45
php-ch ini [version]
44
46
```
45
47
You can’t perform that action at this time.
0 commit comments