File tree 15 files changed +60
-30
lines changed
15 files changed +60
-30
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,11 @@ RUN { \
48
48
echo 'opcache.revalidate_freq=2'; \
49
49
echo 'opcache.fast_shutdown=1'; \
50
50
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
51
- # https://codex. wordpress.org/Editing_wp- config. php#Configure_Error_Logging
51
+ # https://wordpress.org/support/article/editing-wp- config- php/#configure-error-logging
52
52
RUN { \
53
- echo 'error_reporting = 4339'; \
53
+ # https://www.php.net/manual/en/errorfunc.constants.php
54
+ # https://github.com/docker-library/wordpress/issues/420#issuecomment-517839670
55
+ echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR'; \
54
56
echo 'display_errors = Off'; \
55
57
echo 'display_startup_errors = Off'; \
56
58
echo 'log_errors = On'; \
Original file line number Diff line number Diff line change @@ -33,9 +33,11 @@ RUN set -ex; \
33
33
34
34
# set recommended PHP.ini settings
35
35
# excluding opcache due https://github.com/docker-library/wordpress/issues/407
36
- # https://codex. wordpress.org/Editing_wp- config. php#Configure_Error_Logging
36
+ # https://wordpress.org/support/article/editing-wp- config- php/#configure-error-logging
37
37
RUN { \
38
- echo 'error_reporting = 4339'; \
38
+ # https://www.php.net/manual/en/errorfunc.constants.php
39
+ # https://github.com/docker-library/wordpress/issues/420#issuecomment-517839670
40
+ echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR'; \
39
41
echo 'display_errors = Off'; \
40
42
echo 'display_startup_errors = Off'; \
41
43
echo 'log_errors = On'; \
Original file line number Diff line number Diff line change @@ -48,9 +48,11 @@ RUN { \
48
48
echo 'opcache.revalidate_freq=2'; \
49
49
echo 'opcache.fast_shutdown=1'; \
50
50
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
51
- # https://codex. wordpress.org/Editing_wp- config. php#Configure_Error_Logging
51
+ # https://wordpress.org/support/article/editing-wp- config- php/#configure-error-logging
52
52
RUN { \
53
- echo 'error_reporting = 4339'; \
53
+ # https://www.php.net/manual/en/errorfunc.constants.php
54
+ # https://github.com/docker-library/wordpress/issues/420#issuecomment-517839670
55
+ echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR'; \
54
56
echo 'display_errors = Off'; \
55
57
echo 'display_startup_errors = Off'; \
56
58
echo 'log_errors = On'; \
Original file line number Diff line number Diff line change @@ -47,9 +47,11 @@ RUN { \
47
47
echo 'opcache.revalidate_freq=2' ; \
48
48
echo 'opcache.fast_shutdown=1' ; \
49
49
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
50
- # https://codex. wordpress.org/Editing_wp- config. php#Configure_Error_Logging
50
+ # https://wordpress.org/support/article/editing-wp- config- php/#configure-error-logging
51
51
RUN { \
52
- echo 'error_reporting = 4339' ; \
52
+ # https://www.php.net/manual/en/errorfunc.constants.php
53
+ # https://github.com/docker-library/wordpress/issues/420#issuecomment-517839670
54
+ echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR' ; \
53
55
echo 'display_errors = Off' ; \
54
56
echo 'display_startup_errors = Off' ; \
55
57
echo 'log_errors = On' ; \
Original file line number Diff line number Diff line change @@ -32,9 +32,11 @@ RUN set -ex; \
32
32
33
33
# set recommended PHP.ini settings
34
34
# excluding opcache due https://github.com/docker-library/wordpress/issues/407
35
- # https://codex. wordpress.org/Editing_wp- config. php#Configure_Error_Logging
35
+ # https://wordpress.org/support/article/editing-wp- config- php/#configure-error-logging
36
36
RUN { \
37
- echo 'error_reporting = 4339' ; \
37
+ # https://www.php.net/manual/en/errorfunc.constants.php
38
+ # https://github.com/docker-library/wordpress/issues/420#issuecomment-517839670
39
+ echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR' ; \
38
40
echo 'display_errors = Off' ; \
39
41
echo 'display_startup_errors = Off' ; \
40
42
echo 'log_errors = On' ; \
Original file line number Diff line number Diff line change @@ -47,9 +47,11 @@ RUN { \
47
47
echo 'opcache.revalidate_freq=2' ; \
48
48
echo 'opcache.fast_shutdown=1' ; \
49
49
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
50
- # https://codex. wordpress.org/Editing_wp- config. php#Configure_Error_Logging
50
+ # https://wordpress.org/support/article/editing-wp- config- php/#configure-error-logging
51
51
RUN { \
52
- echo 'error_reporting = 4339' ; \
52
+ # https://www.php.net/manual/en/errorfunc.constants.php
53
+ # https://github.com/docker-library/wordpress/issues/420#issuecomment-517839670
54
+ echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR' ; \
53
55
echo 'display_errors = Off' ; \
54
56
echo 'display_startup_errors = Off' ; \
55
57
echo 'log_errors = On' ; \
Original file line number Diff line number Diff line change @@ -47,9 +47,11 @@ RUN { \
47
47
echo 'opcache.revalidate_freq=2' ; \
48
48
echo 'opcache.fast_shutdown=1' ; \
49
49
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
50
- # https://codex. wordpress.org/Editing_wp- config. php#Configure_Error_Logging
50
+ # https://wordpress.org/support/article/editing-wp- config- php/#configure-error-logging
51
51
RUN { \
52
- echo 'error_reporting = 4339' ; \
52
+ # https://www.php.net/manual/en/errorfunc.constants.php
53
+ # https://github.com/docker-library/wordpress/issues/420#issuecomment-517839670
54
+ echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR' ; \
53
55
echo 'display_errors = Off' ; \
54
56
echo 'display_startup_errors = Off' ; \
55
57
echo 'log_errors = On' ; \
Original file line number Diff line number Diff line change @@ -47,9 +47,11 @@ RUN { \
47
47
echo 'opcache.revalidate_freq=2' ; \
48
48
echo 'opcache.fast_shutdown=1' ; \
49
49
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
50
- # https://codex. wordpress.org/Editing_wp- config. php#Configure_Error_Logging
50
+ # https://wordpress.org/support/article/editing-wp- config- php/#configure-error-logging
51
51
RUN { \
52
- echo 'error_reporting = 4339' ; \
52
+ # https://www.php.net/manual/en/errorfunc.constants.php
53
+ # https://github.com/docker-library/wordpress/issues/420#issuecomment-517839670
54
+ echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR' ; \
53
55
echo 'display_errors = Off' ; \
54
56
echo 'display_startup_errors = Off' ; \
55
57
echo 'log_errors = On' ; \
Original file line number Diff line number Diff line change @@ -32,9 +32,11 @@ RUN set -ex; \
32
32
33
33
# set recommended PHP.ini settings
34
34
# excluding opcache due https://github.com/docker-library/wordpress/issues/407
35
- # https://codex. wordpress.org/Editing_wp- config. php#Configure_Error_Logging
35
+ # https://wordpress.org/support/article/editing-wp- config- php/#configure-error-logging
36
36
RUN { \
37
- echo 'error_reporting = 4339' ; \
37
+ # https://www.php.net/manual/en/errorfunc.constants.php
38
+ # https://github.com/docker-library/wordpress/issues/420#issuecomment-517839670
39
+ echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR' ; \
38
40
echo 'display_errors = Off' ; \
39
41
echo 'display_startup_errors = Off' ; \
40
42
echo 'log_errors = On' ; \
Original file line number Diff line number Diff line change @@ -47,9 +47,11 @@ RUN { \
47
47
echo 'opcache.revalidate_freq=2' ; \
48
48
echo 'opcache.fast_shutdown=1' ; \
49
49
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
50
- # https://codex. wordpress.org/Editing_wp- config. php#Configure_Error_Logging
50
+ # https://wordpress.org/support/article/editing-wp- config- php/#configure-error-logging
51
51
RUN { \
52
- echo 'error_reporting = 4339' ; \
52
+ # https://www.php.net/manual/en/errorfunc.constants.php
53
+ # https://github.com/docker-library/wordpress/issues/420#issuecomment-517839670
54
+ echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR' ; \
53
55
echo 'display_errors = Off' ; \
54
56
echo 'display_startup_errors = Off' ; \
55
57
echo 'log_errors = On' ; \
Original file line number Diff line number Diff line change @@ -47,9 +47,11 @@ RUN { \
47
47
echo 'opcache.revalidate_freq=2' ; \
48
48
echo 'opcache.fast_shutdown=1' ; \
49
49
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
50
- # https://codex. wordpress.org/Editing_wp- config. php#Configure_Error_Logging
50
+ # https://wordpress.org/support/article/editing-wp- config- php/#configure-error-logging
51
51
RUN { \
52
- echo 'error_reporting = 4339' ; \
52
+ # https://www.php.net/manual/en/errorfunc.constants.php
53
+ # https://github.com/docker-library/wordpress/issues/420#issuecomment-517839670
54
+ echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR' ; \
53
55
echo 'display_errors = Off' ; \
54
56
echo 'display_startup_errors = Off' ; \
55
57
echo 'log_errors = On' ; \
Original file line number Diff line number Diff line change @@ -48,9 +48,11 @@ RUN { \
48
48
echo 'opcache.revalidate_freq=2' ; \
49
49
echo 'opcache.fast_shutdown=1' ; \
50
50
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
51
- # https://codex. wordpress.org/Editing_wp- config. php#Configure_Error_Logging
51
+ # https://wordpress.org/support/article/editing-wp- config- php/#configure-error-logging
52
52
RUN { \
53
- echo 'error_reporting = 4339' ; \
53
+ # https://www.php.net/manual/en/errorfunc.constants.php
54
+ # https://github.com/docker-library/wordpress/issues/420#issuecomment-517839670
55
+ echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR' ; \
54
56
echo 'display_errors = Off' ; \
55
57
echo 'display_startup_errors = Off' ; \
56
58
echo 'log_errors = On' ; \
Original file line number Diff line number Diff line change @@ -33,9 +33,11 @@ RUN set -ex; \
33
33
34
34
# set recommended PHP.ini settings
35
35
# excluding opcache due https://github.com/docker-library/wordpress/issues/407
36
- # https://codex. wordpress.org/Editing_wp- config. php#Configure_Error_Logging
36
+ # https://wordpress.org/support/article/editing-wp- config- php/#configure-error-logging
37
37
RUN { \
38
- echo 'error_reporting = 4339' ; \
38
+ # https://www.php.net/manual/en/errorfunc.constants.php
39
+ # https://github.com/docker-library/wordpress/issues/420#issuecomment-517839670
40
+ echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR' ; \
39
41
echo 'display_errors = Off' ; \
40
42
echo 'display_startup_errors = Off' ; \
41
43
echo 'log_errors = On' ; \
Original file line number Diff line number Diff line change @@ -48,9 +48,11 @@ RUN { \
48
48
echo 'opcache.revalidate_freq=2' ; \
49
49
echo 'opcache.fast_shutdown=1' ; \
50
50
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
51
- # https://codex. wordpress.org/Editing_wp- config. php#Configure_Error_Logging
51
+ # https://wordpress.org/support/article/editing-wp- config- php/#configure-error-logging
52
52
RUN { \
53
- echo 'error_reporting = 4339' ; \
53
+ # https://www.php.net/manual/en/errorfunc.constants.php
54
+ # https://github.com/docker-library/wordpress/issues/420#issuecomment-517839670
55
+ echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR' ; \
54
56
echo 'display_errors = Off' ; \
55
57
echo 'display_startup_errors = Off' ; \
56
58
echo 'log_errors = On' ; \
Original file line number Diff line number Diff line change @@ -48,9 +48,11 @@ RUN { \
48
48
echo 'opcache.revalidate_freq=2' ; \
49
49
echo 'opcache.fast_shutdown=1' ; \
50
50
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
51
- # https://codex. wordpress.org/Editing_wp- config. php#Configure_Error_Logging
51
+ # https://wordpress.org/support/article/editing-wp- config- php/#configure-error-logging
52
52
RUN { \
53
- echo 'error_reporting = 4339' ; \
53
+ # https://www.php.net/manual/en/errorfunc.constants.php
54
+ # https://github.com/docker-library/wordpress/issues/420#issuecomment-517839670
55
+ echo 'error_reporting = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR' ; \
54
56
echo 'display_errors = Off' ; \
55
57
echo 'display_startup_errors = Off' ; \
56
58
echo 'log_errors = On' ; \
You can’t perform that action at this time.
0 commit comments