Page MenuHomePhabricator

Document php override options for lighttpd
Closed, DeclinedPublic

Description

/usr/local/bin/lighttpd-starter allows overriding the php configuration, by only inserting the standard config if:

if [ ! -r $home/.lighttpd.conf ] || [[ ! $(cat "$home/.lighttpd.conf" | grep -P '^(?:[ \t]*fastcgi.server[ \t\+\(=]+".php"|#no-default-php)') ]]; then

This should be documented.

Event Timeline

valhallasw raised the priority of this task from to Needs Triage.
valhallasw updated the task description. (Show Details)
valhallasw added a project: Toolforge.
valhallasw subscribed.
valhallasw triaged this task as Medium priority.Jul 2 2015, 7:37 PM

Reading this task again I realized that the feature that it is asking to be documented actually is no longer available. lighttpd-starter was replaced in the "webservice2" re-write and equivalent functionality was not added in the new implementation. Specifically there is no magic string of config that can be placed in a tool's $HOME/.lighttpd.conf file that will prevent the default server configuration from being used. There is also no Kubernetes backend equivalent for the gridengine backend's "lighttpd-plain" type today.

So... ugh. We probably need some product work before we are actually ready to document this "feature".

Aklapper changed the task status from Open to Stalled.Jun 25 2020, 8:20 AM
Aklapper lowered the priority of this task from Medium to Lowest.

Guess once this is possible it could go to https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web/Lighttpd#PHP ?

lighttpd-starter was replaced in the "webservice2" re-write and equivalent functionality was not added in the new implementation.

For reference: T98440: Deploy new unified webservice code / T98441: Convert lighttpd-starter from bash to python

So... ugh. We probably need some product work before we are actually ready to document this "feature".

As this is a documentation task, there should be a subtask which is about developing / re-adding this functionality.

Let's just close this as declined since the missing docs are actually a missing feature that the world has lived without for 4+ years.