Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] php-fpm: remove config comments to fix startup
@ 2016-11-08 19:49 Frank Hunleth
  2016-11-08 21:40 ` Arnout Vandecappelle
  2016-11-09 21:24 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Frank Hunleth @ 2016-11-08 19:49 UTC (permalink / raw)
  To: buildroot

The comments in the Buildroot-provided php-fpm.conf would produce the
following error when starting php-fpm:

ERROR: [/etc/php-fpm.conf:2] value is NULL for a ZEND_INI_PARSER_ENTRY

Removing the comments fixes the problem.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
---
 package/php/php-fpm.conf | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/package/php/php-fpm.conf b/package/php/php-fpm.conf
index b75a58f..88014b8 100644
--- a/package/php/php-fpm.conf
+++ b/package/php/php-fpm.conf
@@ -1,9 +1,6 @@
 [www]
-# Only start children when there are requests to be processed
 pm = ondemand
-# Terminate them again after there haven't been any for 2 minutes
 pm.process_idle_timeout = 120s
-# Maximum number of children processing PHP requests concurrently
 pm.max_children = 5
 
 listen = /var/run/php-fpm.sock
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] php-fpm: remove config comments to fix startup
  2016-11-08 19:49 [Buildroot] [PATCH 1/1] php-fpm: remove config comments to fix startup Frank Hunleth
@ 2016-11-08 21:40 ` Arnout Vandecappelle
  2016-11-09 21:24 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2016-11-08 21:40 UTC (permalink / raw)
  To: buildroot



On 08-11-16 20:49, Frank Hunleth wrote:
> The comments in the Buildroot-provided php-fpm.conf would produce the
> following error when starting php-fpm:
> 
> ERROR: [/etc/php-fpm.conf:2] value is NULL for a ZEND_INI_PARSER_ENTRY
> 
> Removing the comments fixes the problem.
> 
> Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>

Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

 Regards,
 Arnout

> ---
>  package/php/php-fpm.conf | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/package/php/php-fpm.conf b/package/php/php-fpm.conf
> index b75a58f..88014b8 100644
> --- a/package/php/php-fpm.conf
> +++ b/package/php/php-fpm.conf
> @@ -1,9 +1,6 @@
>  [www]
> -# Only start children when there are requests to be processed
>  pm = ondemand
> -# Terminate them again after there haven't been any for 2 minutes
>  pm.process_idle_timeout = 120s
> -# Maximum number of children processing PHP requests concurrently
>  pm.max_children = 5
>  
>  listen = /var/run/php-fpm.sock
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] php-fpm: remove config comments to fix startup
  2016-11-08 19:49 [Buildroot] [PATCH 1/1] php-fpm: remove config comments to fix startup Frank Hunleth
  2016-11-08 21:40 ` Arnout Vandecappelle
@ 2016-11-09 21:24 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2016-11-09 21:24 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue,  8 Nov 2016 14:49:42 -0500, Frank Hunleth wrote:
> The comments in the Buildroot-provided php-fpm.conf would produce the
> following error when starting php-fpm:
> 
> ERROR: [/etc/php-fpm.conf:2] value is NULL for a ZEND_INI_PARSER_ENTRY
> 
> Removing the comments fixes the problem.
> 
> Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
> ---
>  package/php/php-fpm.conf | 3 ---
>  1 file changed, 3 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-09 21:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-08 19:49 [Buildroot] [PATCH 1/1] php-fpm: remove config comments to fix startup Frank Hunleth
2016-11-08 21:40 ` Arnout Vandecappelle
2016-11-09 21:24 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox