Skip to content

Commit 17ee948

Browse files
committed
Update README
1 parent cd61bf5 commit 17ee948

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ Add the composer bin path to your *.bashrc*:
2626
echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> ~/.bashrc
2727
```
2828

29+
Run:
30+
31+
```sh
32+
source ~/.bashrc
33+
```
34+
2935
### Manual
3036

3137
Download and extract the *php-server* project folder.
@@ -36,6 +42,12 @@ Add the php-server alias to your *.bashrc*:
3642
echo 'alias php-server="~/php-server/bin/php-server"' >> ~/.bashrc
3743
```
3844

45+
Run:
46+
47+
```sh
48+
source ~/.bashrc
49+
```
50+
3951
## Config
4052

4153
You can run the php-server in any folder of your operating system.
@@ -59,9 +71,6 @@ display_startup_errors = 1
5971
max_execution_time = 360
6072
post_max_size = 200M
6173
upload_max_filesize = 200M
62-
; Array of runtime extensions:
63-
extension[] = mysqli
64-
extension[] = zip
6574

6675
[server]
6776
ENVIRONMENT = development
@@ -116,7 +125,7 @@ php-server --port 8081
116125
Or, also with a different version of PHP than the default:
117126

118127
```sh
119-
php-server --php php7.4 --port 8081
128+
php-server --php php8.4 --port 8081
120129
```
121130

122131
Right. You get the idea. If you want to run on a different host you can add the host to the [hosts file](https://en.wikipedia.org/wiki/Hosts_(file)) of your operating system.

0 commit comments

Comments
 (0)