Sfoglia il codice sorgente

Update config to remove spurious warnings

Hamilton Turner 10 anni fa
parent
commit
c932f4c9e6
1 ha cambiato i file con 5 aggiunte e 3 eliminazioni
  1. 5 3
      config/php-fpm.conf

+ 5 - 3
config/php-fpm.conf

@@ -137,8 +137,10 @@ events.mechanism = epoll
 ; Unix user/group of processes
 ; Note: The user is mandatory. If the group is not set, the default user's group
 ;       will be used.
-user = www-data
-group = www-data
+; Note: TFB does not run php-fpm as root, and therefore these directives are 
+;       ignored. Commenting them out avoids spurious log messages
+; user = testrunner
+; group = testrunner
 
 ; The address on which to accept FastCGI requests.
 ; Valid syntaxes are:
@@ -504,7 +506,7 @@ pm.max_spare_servers = 256
 ; Default Value: nothing is defined by default except the values in php.ini and
 ;                specified at startup with the -d argument
 ;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f [email protected]
-;php_flag[display_errors] = off
+php_flag[display_errors] = off
 ;php_admin_value[error_log] = /var/log/fpm-php.www.log
 ;php_admin_flag[log_errors] = on
 ;php_admin_value[memory_limit] = 32M