phpstub and patch: new environment var EXTERN_EXECUTABLE

"clemensF" <[email protected]>
Newsgroups gmane.network.mathopd
Organization no
Message-ID <[email protected]>
because i could not get my wiki to run on mathopd, i explored the inner
workings of phpstub of the standard distribution.  the main difference to
my version is:

        // -ino: 2-02.04.02-14:58
        if (! (php_executable = getenv("EXTERN_EXECUTABLE"))) {
                php_executable = PHP_EXECUTABLE;
        }

that is to say, the actual executable used by the stub can be infered not
at compile time with a #define, but also later at run time by using the
environment variable EXTERN_EXECUTABLE.  if it isn't set, the compile time
default takes precedence.

but even with the unchanged version i get errors:

Tue Apr  2 16:06:44 2002 [10593] convert_cgi_headers: s=1!?
Tue Apr  2 16:06:44 2002 [10593] pipe_loop: problem in convert_cgi_headers

clemens fischer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.