I have set up Review Board to run under Apache on a Debian Linux machine. Apparently, when Review Board is running, it cannot find the p4 (perforce) executable because it is not "on the path". Which path gets used when Review Board (running from Apache) tries to spawn a child process? Is it www-data's? How can I add a directory to that path?
If you're running squeeze (6.0), the PATH for apache is defined in the init script (
Changing it is, in theory, as simple as modifying that init script to add whatever you want. In practice, it's better if you don't mangle that script unnecessarily because it'll make upgrading just that little bit more difficult.
What would be best is either: