Run update.sh
This commit is contained in:
parent
42b58cdff4
commit
915fd924e1
|
|
@ -111,6 +111,8 @@ For many simple, single file projects, you may find it inconvenient to write a c
|
||||||
$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp php:7.0-cli php your-script.php
|
$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp php:7.0-cli php your-script.php
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note that all variants of the `php` image contain the PHP cli.
|
||||||
|
|
||||||
## With Apache
|
## With Apache
|
||||||
|
|
||||||
More commonly, you will probably want to run PHP in conjunction with Apache httpd. Conveniently, there's a version of the PHP container that's packaged with the Apache web server.
|
More commonly, you will probably want to run PHP in conjunction with Apache httpd. Conveniently, there's a version of the PHP container that's packaged with the Apache web server.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue