Re: CGI SAPI binary location
| From: | (Marcus Börger) | Date: | Sat, 28 Sep 2002 14:07:24 +0000 |
| Subject: | Re: CGI SAPI binary location | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-88715@lists.php.net to get a copy of this message | ||
At 15:43 28.09.2002, Yasuo Ohgaki wrote:
Jan Lehnardt wrote:Only set the executable to the cgi and it works.Hi, On Sat, Sep 28, 2002 at 09:03:29PM +0900, Yasuo Ohgaki wrote:AFAIK, "make test" depends on CLI sapi now and run-tests.php can only be executed by CLI sapi. We are better to make run-tests.php runs under CGI sapi. Otherwise, some tests must be skipped always. Is there way to execute run-tests.php with CGI sapi? I don't follow run-tests.php changes well recently. export TEST_PHP_EXECUTABLE=./sapi/cgi/php-cgi; ./sapi/cgi/php-cgi -c php.ini-dist -q -f ./run-tests.php does not work at least.Does anyone find problem in this patch?I think 'make test' must be adjusted to these changes, not sure though.
export TEST_PHP_EXECUTABLE=./sapi/cgi/php-cgior call it directly
./sapi/cgi/php-cgi -c php.ini-dist -q -f ./run-tests.phpThe handling of the ini file is *hi* because the script tests which ini file itself uses but not which ini file is used for the tests :-( I do not have the time now but i keep this in mind. marcus