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

@@ -57,7 +57,7 @@ include = /usr/local/etc/php-fpm.d/*.conf
Additional php.ini defines, specific to this pool of workers.
<value name="php_defines">
<value name="error_reporting">{{ item.cfg[item.key].error_reporting | default(item.cfg[item.alt].error_reporting) }}</value>
<value name="error_reporting">E_ALL</value>
<value name="xmlrpc_errors">{{ item.cfg[item.key].xmlrpc_errors | default(item.cfg[item.alt].xmlrpc_errors) }}</value>
<value name="report_memleaks">{{ item.cfg[item.key].report_memleaks | default(item.cfg[item.alt].report_memleaks) }}</value>
<value name="display_errors">{{ item.cfg[item.key].display_errors | default(item.cfg[item.alt].display_errors) }}</value>

View File

@@ -621,6 +621,7 @@ software_available:
command: curl https://symfony.com/installer -L -o /usr/local/bin/symfony
post: chmod +x /usr/local/bin/symfony
wpcli:
disabled: [5.2]
check: wp --allow-root --version | grep -E '[.0-9]+'
all:
command: curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp