Last modified: 2014-04-11 11:29:41 UTC
Probably since https://gerrit.wikimedia.org/r/#/c/59797/ job handling starts an external php process by default. This fails if open_basedir does not contain /usr/bin/ There should be a check for the open_basedir, and an automatic fallback to the internal job queue.
I agree. Note that the open_basedir check should not be done against /usr/bin/, but against the actual value of $wgPhpCli (which defaults to /usr/bin/, but also might be different).
In master this already checks is_executable(), which should handle open_basedir.
Maybe, but it still logs a warning every time it looks for the PHP binary :-( From my error_log: (domains replaced with domain.de/otherdomain.de) [error] [client __IP_HIDDEN__] PHP Warning: is_executable(): open_basedir restriction in effect. File(/usr/bin/php) is not within the allowed path(s): (/home/www/domain.de/:/home/www/all:/home/www/otherdomain.de/httpdocs/wiki/images/) in /home/www/domain.de/httpdocs/wiki/includes/Wiki.php on line 652, referer: http://www.domain.de/Wikipage
Change 113038 merged by jenkins-bot: Moved job running via $wgJobRunRate to a special API https://gerrit.wikimedia.org/r/113038
Status Merged