Update readme for webroot info

This commit is contained in:
Ric Harvey
2016-07-04 16:24:25 +01:00
parent 4419b11aaa
commit 730a7501e5

View File

@@ -8,11 +8,11 @@ If you have any improvements please submit a pull request.
### Docker hub repository ### Docker hub repository
The Docker hub build can be found here: [https://registry.hub.docker.com/u/richarvey/nginx-php-fpm/](https://registry.hub.docker.com/u/richarvey/nginx-php-fpm/) The Docker hub build can be found here: [https://registry.hub.docker.com/u/richarvey/nginx-php-fpm/](https://registry.hub.docker.com/u/richarvey/nginx-php-fpm/)
## Versions ## Versions
- Nginx: **1.10.1** | Tag | Nginx | PHP | Alpine |
- PHP: **5.6.21** |-----|-------|-----|--------|
- Alpine Version: **3.4** | latest | 1.10.1 | 5.6.21 |
| php5 | 1.10.1 | 5.6.21 |
Use richarvey/nginx-php-fpm:php7 tag for PHP 7. | php7 | 1.10.1 | 7.0.7 |
## Building from source ## Building from source
To build from source you need to clone the git repo and run docker build: To build from source you need to clone the git repo and run docker build:
@@ -127,6 +127,8 @@ All logs should now print out in stdout/stderr and are available via the docker
``` ```
docker logs <CONTAINER_NAME> docker logs <CONTAINER_NAME>
``` ```
### WebRoot
You can set your webroot in the container to anything you want using the -e "WEBROOT=/var/www/html/public" variable.
### Displaying Errors ### Displaying Errors
If you want to display PHP errors on screen (in the browser) for debugging purposes use this feature: If you want to display PHP errors on screen (in the browser) for debugging purposes use this feature: