From 82d36431e8f57d249db495a5f837a5703bb35c67 Mon Sep 17 00:00:00 2001 From: Tim Flink Date: Fri, 2 Dec 2016 04:58:36 +0000 Subject: [PATCH] tweaks in php and mariadb config for new phab version --- .../files/my.cnf.qa-stg01.qa.fedoraproject.org | 5 ++++- roles/phabricator/files/php.ini | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/roles/mariadb_server/files/my.cnf.qa-stg01.qa.fedoraproject.org b/roles/mariadb_server/files/my.cnf.qa-stg01.qa.fedoraproject.org index 7b5fcd20c4..45a345b480 100644 --- a/roles/mariadb_server/files/my.cnf.qa-stg01.qa.fedoraproject.org +++ b/roles/mariadb_server/files/my.cnf.qa-stg01.qa.fedoraproject.org @@ -30,7 +30,7 @@ port = 3306 socket = /var/lib/mysql/mysql.sock skip-external-locking key_buffer_size = 16M -max_allowed_packet = 1M +max_allowed_packet = 33554432 table_open_cache = 64 sort_buffer_size = 512K net_buffer_length = 8K @@ -44,6 +44,9 @@ log-error=/var/log/mariadb/mariadb.log # setting STRICT_ALL_TABLES for phabricator sql_mode=STRICT_ALL_TABLES +# decreasing the minimum word length +ft_min_word_len = 3 + # Point the following paths to different dedicated disks #tmpdir = /tmp/ diff --git a/roles/phabricator/files/php.ini b/roles/phabricator/files/php.ini index e678102c6c..6aea99956b 100644 --- a/roles/phabricator/files/php.ini +++ b/roles/phabricator/files/php.ini @@ -775,7 +775,7 @@ default_mimetype = "text/html" ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is ; to disable this feature. ; http://www.php.net/manual/en/ini.core.php#ini.always-populate-raw-post-data -;always_populate_raw_post_data = On +always_populate_raw_post_data = "-1" ;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ;