Skip to content

Commit 78a791b

Browse files
committed
README: more tweaks to multiple php versions on linux section
1 parent 6896cf3 commit 78a791b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ After installing Docker you may use these containers to run multiple versions of
1515
```
1616
docker pull "phpseclib/php8.0"
1717
printf "alias php80='docker run -it --rm --name php80 --user \$(id -u):\$(id -g) -v \"\$PWD\":/usr/src/myapp -w /usr/src/myapp phpseclib/php8.0 php'\n" >> ~/.bashrc
18-
printf "alias php80='docker run -it --rm --name composer80 --user \$(id -u):\$(id -g) -v \"\$PWD\":/usr/src/myapp -w /usr/src/myapp phpseclib/php8.0 composer'\n" >> ~/.bashrc
18+
printf "alias composer80='docker run -it --rm --name php80 --user \$(id -u):\$(id -g) -v \"\$PWD\":/usr/src/myapp -w /usr/src/myapp phpseclib/php8.0 composer'\n" >> ~/.bashrc
1919
```
2020

2121
At this point you'll be able to do `php80 test.php` to run PHP scripts using the 8.0 container or `composer80 require phpseclib/phpseclib:^3.0` to run Composer using the 8.0 container

0 commit comments

Comments
 (0)