Page MenuHomeDevCentral

Drop empty value for php-fpm environment variable
ClosedPublic

Authored by dereckson on Feb 27 2020, 12:18.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 3, 00:48
Unknown Object (File)
Tue, Sep 2, 14:24
Unknown Object (File)
Tue, Sep 2, 01:48
Unknown Object (File)
Tue, Sep 2, 00:29
Unknown Object (File)
Sat, Aug 30, 06:20
Unknown Object (File)
Wed, Aug 27, 00:32
Unknown Object (File)
Tue, Aug 26, 17:04
Unknown Object (File)
Wed, Aug 20, 05:02
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 Passed
Unit
No Test Coverage
Branch
master
Build Status
Buildable 3507
Build 3756: arc lint + arc unit

Event Timeline

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