mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-18 15:01:14 +00:00
Increase error reporting for development images
This commit is contained in:
@@ -292,6 +292,7 @@ RUN set -x \
|
|||||||
###
|
###
|
||||||
### Copy files
|
### Copy files
|
||||||
###
|
###
|
||||||
|
COPY ./data/php.d/error-reporting.ini /usr/local/etc/php/conf.d/devilbox-error-reporting.ini
|
||||||
COPY ./data/docker-entrypoint.sh /docker-entrypoint.sh
|
COPY ./data/docker-entrypoint.sh /docker-entrypoint.sh
|
||||||
COPY ./data/docker-entrypoint.d/*.sh /docker-entrypoint.d/
|
COPY ./data/docker-entrypoint.d/*.sh /docker-entrypoint.d/
|
||||||
COPY ./data/bash-devilbox /etc/bash-devilbox
|
COPY ./data/bash-devilbox /etc/bash-devilbox
|
||||||
|
|||||||
@@ -296,6 +296,7 @@ RUN set -x \
|
|||||||
###
|
###
|
||||||
### Copy files
|
### Copy files
|
||||||
###
|
###
|
||||||
|
COPY ./data/php.d/error-reporting.ini /usr/local/etc/php/conf.d/devilbox-error-reporting.ini
|
||||||
COPY ./data/docker-entrypoint.sh /docker-entrypoint.sh
|
COPY ./data/docker-entrypoint.sh /docker-entrypoint.sh
|
||||||
COPY ./data/docker-entrypoint.d/*.sh /docker-entrypoint.d/
|
COPY ./data/docker-entrypoint.d/*.sh /docker-entrypoint.d/
|
||||||
COPY ./data/bash-devilbox /etc/bash-devilbox
|
COPY ./data/bash-devilbox /etc/bash-devilbox
|
||||||
|
|||||||
@@ -296,6 +296,7 @@ RUN set -x \
|
|||||||
###
|
###
|
||||||
### Copy files
|
### Copy files
|
||||||
###
|
###
|
||||||
|
COPY ./data/php.d/error-reporting.ini /usr/local/etc/php/conf.d/devilbox-error-reporting.ini
|
||||||
COPY ./data/docker-entrypoint.sh /docker-entrypoint.sh
|
COPY ./data/docker-entrypoint.sh /docker-entrypoint.sh
|
||||||
COPY ./data/docker-entrypoint.d/*.sh /docker-entrypoint.d/
|
COPY ./data/docker-entrypoint.d/*.sh /docker-entrypoint.d/
|
||||||
COPY ./data/bash-devilbox /etc/bash-devilbox
|
COPY ./data/bash-devilbox /etc/bash-devilbox
|
||||||
|
|||||||
@@ -296,6 +296,7 @@ RUN set -x \
|
|||||||
###
|
###
|
||||||
### Copy files
|
### Copy files
|
||||||
###
|
###
|
||||||
|
COPY ./data/php.d/error-reporting.ini /usr/local/etc/php/conf.d/devilbox-error-reporting.ini
|
||||||
COPY ./data/docker-entrypoint.sh /docker-entrypoint.sh
|
COPY ./data/docker-entrypoint.sh /docker-entrypoint.sh
|
||||||
COPY ./data/docker-entrypoint.d/*.sh /docker-entrypoint.d/
|
COPY ./data/docker-entrypoint.d/*.sh /docker-entrypoint.d/
|
||||||
COPY ./data/bash-devilbox /etc/bash-devilbox
|
COPY ./data/bash-devilbox /etc/bash-devilbox
|
||||||
|
|||||||
@@ -296,6 +296,7 @@ RUN set -x \
|
|||||||
###
|
###
|
||||||
### Copy files
|
### Copy files
|
||||||
###
|
###
|
||||||
|
COPY ./data/php.d/error-reporting.ini /usr/local/etc/php/conf.d/devilbox-error-reporting.ini
|
||||||
COPY ./data/docker-entrypoint.sh /docker-entrypoint.sh
|
COPY ./data/docker-entrypoint.sh /docker-entrypoint.sh
|
||||||
COPY ./data/docker-entrypoint.d/*.sh /docker-entrypoint.d/
|
COPY ./data/docker-entrypoint.d/*.sh /docker-entrypoint.d/
|
||||||
COPY ./data/bash-devilbox /etc/bash-devilbox
|
COPY ./data/bash-devilbox /etc/bash-devilbox
|
||||||
|
|||||||
@@ -296,6 +296,7 @@ RUN set -x \
|
|||||||
###
|
###
|
||||||
### Copy files
|
### Copy files
|
||||||
###
|
###
|
||||||
|
COPY ./data/php.d/error-reporting.ini /usr/local/etc/php/conf.d/devilbox-error-reporting.ini
|
||||||
COPY ./data/docker-entrypoint.sh /docker-entrypoint.sh
|
COPY ./data/docker-entrypoint.sh /docker-entrypoint.sh
|
||||||
COPY ./data/docker-entrypoint.d/*.sh /docker-entrypoint.d/
|
COPY ./data/docker-entrypoint.d/*.sh /docker-entrypoint.d/
|
||||||
COPY ./data/bash-devilbox /etc/bash-devilbox
|
COPY ./data/bash-devilbox /etc/bash-devilbox
|
||||||
|
|||||||
12
Dockerfiles/work/data/php.d/error-reporting.ini
Normal file
12
Dockerfiles/work/data/php.d/error-reporting.ini
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
; PHP Development configuration for errors
|
||||||
|
|
||||||
|
; Show all errors
|
||||||
|
display_errors = On
|
||||||
|
display_startup_errors = On
|
||||||
|
|
||||||
|
; Log all errors
|
||||||
|
log_errors = On
|
||||||
|
|
||||||
|
; What errors to show/log
|
||||||
|
error_reporting = E_ALL | E_STRICT
|
||||||
|
xmlrpc_errors = On
|
||||||
@@ -183,6 +183,7 @@ RUN set -x \
|
|||||||
###
|
###
|
||||||
### Copy files
|
### Copy files
|
||||||
###
|
###
|
||||||
|
COPY ./data/php.d/error-reporting.ini /usr/local/etc/php/conf.d/devilbox-error-reporting.ini
|
||||||
COPY ./data/docker-entrypoint.sh /docker-entrypoint.sh
|
COPY ./data/docker-entrypoint.sh /docker-entrypoint.sh
|
||||||
COPY ./data/docker-entrypoint.d/*.sh /docker-entrypoint.d/
|
COPY ./data/docker-entrypoint.d/*.sh /docker-entrypoint.d/
|
||||||
COPY ./data/bash-devilbox /etc/bash-devilbox
|
COPY ./data/bash-devilbox /etc/bash-devilbox
|
||||||
|
|||||||
Reference in New Issue
Block a user