Skip to content

Commit 02a82db

Browse files
author
Shameem A.R
authored
Update README.md
1 parent 9cb218e commit 02a82db

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22
Switch PHP version using bash!
33

44
## Requirements
5-
sudo (restart apache2 & create symlinks)
5+
6+
Apache *2.4+* (a2dismod & a2enmod is needed)!
67

78
Install php and mod_php(apache2) for all needed php versions.
89

9-
Apache a2dismod & a2enmod is needed!
10+
sudo (restart apache2 & create symlinks for CLI linking of PHP)
1011

1112
## Install
13+
1214
```
1315
curl -L -O https://github.com/mobihack/phpversionswitcher/raw//master/phpswitch.sh
1416
chmod +x phpswitch.sh
15-
1617
```
1718

1819
## Usage
@@ -21,8 +22,11 @@ Run from terminal:
2122
`bash 'phpswitch.sh'`
2223

2324
This will list all installed php version.
25+
2426
Enter the php version to switch to.
27+
2528
Apache is restarted automatically!
29+
2630
Done!
2731

2832
## License

0 commit comments

Comments
 (0)