Webserver with Apache and PHP 7 on Ubuntu 18.04
10K+
display_errors on
error_reporting 22527
You can get the number of error_reporting on PHP Error Reporting Wizard
date.timezone Europe/Dublin
max_execution_time 60
max_input_time 120
memory_limit 512
post_max_size 15M
upload_max_filesize 10M
The port 80 is expose
$ docker run -d -v [host_path]/web:/var/www/html -p [host_port]:80 cantarino/php7
version: '3' \
services: \
webphp: \
image: cantarino/php7 \
ports: \
- "[host_port]:80" \
volumes: \
- [host_path]:/var/www/html \
$ docker run -d -v [host_path]:/var/www/html -p [host_port]:80 -e WEB_DOCUMENT_ROOT=web cantarino/docker_php7
version: '3' \
services: \
webphp: \
image: cantarino/php7 \
ports: \
- "[host_port]:80" \
volumes: \
- [host_path]:/var/www/html \
environment: \
WEB_DOCUMENT_ROOT: web \
Content type
Image
Digest
Size
110 MB
Last updated
over 7 years ago
docker pull cantarino/php7