Re: CGI SAPI binary location
| From: | Yasuo Ohgaki | Date: | Sat, 28 Sep 2002 23:14:12 +0000 |
| Subject: | Re: CGI SAPI binary location | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-88726@lists.php.net to get a copy of this message | ||
Marcus Börger wrote:
At 15:43 28.09.2002, Yasuo Ohgaki wrote:I tested as followsOnly set the executable to the cgi and it works. export TEST_PHP_EXECUTABLE=./sapi/cgi/php-cgi or call it directly ./sapi/cgi/php-cgi -c php.ini-dist -q -f ./run-tests.php The 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.On Sat, Sep 28, 2002 at 09:03:29PM +0900, Yasuo Ohgaki wrote: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.
and I get following errors for each test script. PHP Fatal error: Unknown(): Unable to open in Unknown on line 0 Unknown(0) : Fatal error - Unknown(): Unable to open FAIL ctype on integers (001.phpt) It could be temporary(?) error with CVS source, though. Does/did it work for you? -- Yasuo Ohgakiexport TEST_PHP_EXECUTABLE=./sapi/cgi/php-cgi; ./sapi/cgi/php-cgi -c php.ini-dist -q -f ./run-tests.php