Fix PHP 5.2 Run-time errors

This commit is contained in:
cytopia
2018-08-02 16:26:15 +02:00
parent b03a857a42
commit 726fe86700
5 changed files with 4 additions and 7 deletions

View File

@@ -184,9 +184,6 @@ RUN set -x \
&& gem install sass \
# webpack
&& npm install -g webpack webpack-cli \
# wpcli
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \
&& chmod +x /usr/local/bin/wp \
# yamllint
&& apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev python-setuptools libyaml-dev \
&& pip install yamllint \
@@ -262,7 +259,6 @@ RUN set -x \
&& phpcbf --version | grep -E 'version [.0-9]+' \
&& sass --version | grep -E '[.0-9]+' \
&& webpack --version | grep -E '[.0-9]+' \
&& wp --allow-root --version | grep -E '[.0-9]+' \
&& yamllint --version 2>&1 | grep -E '[.0-9]+' \
&& true

View File

@@ -51,7 +51,7 @@
Additional php.ini defines, specific to this pool of workers.
<value name="php_defines">
<value name="error_reporting">E_ALL | E_NOTICE | E_STRICT | E_DEPRECATED</value>
<value name="error_reporting">E_ALL</value>
<value name="xmlrpc_errors">Off</value>
<value name="report_memleaks">On</value>
<value name="display_errors">On</value>