Page MenuHomeDevCentral

Drop empty value for php-fpm environment variable
ClosedPublic

Authored by dereckson on Feb 27 2020, 12:18.
Tags
None
Referenced Files
F3764212: D2267.diff
Fri, Nov 22, 04:38
Unknown Object (File)
Tue, Nov 12, 16:03
Unknown Object (File)
Sat, Nov 9, 07:55
Unknown Object (File)
Tue, Nov 5, 06:48
Unknown Object (File)
Tue, Nov 5, 05:27
Unknown Object (File)
Mon, Nov 4, 09:53
Unknown Object (File)
Sun, Nov 3, 16:10
Unknown Object (File)
Thu, Oct 31, 09:58
Subscribers
None

Details

Summary

php-fpm doesn't accept empty values as environment variables.

It somewhat makes sense, as "" is actually the value
for an undefined environment variable.

Fixes the following issue:

[27-Feb-2020 12:00:23] ERROR: [/usr/local/etc/php-fpm-env.conf:9] empty value
[27-Feb-2020 12:00:23] ERROR: Unable to include /usr/local/etc/php-fpm-env.conf from /usr/local/etc/php-fpm.conf at line 9
[27-Feb-2020 12:00:23] ERROR: failed to load configuration file '/usr/local/etc/php-fpm.conf'
[27-Feb-2020 12:00:23] ERROR: FPM initialization failed

Ref T1598.

Test Plan

Run container and ensure php-fpm initializes

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Feb 27 2020, 14:25