Re: Testing POST method

From: Date: Sat, 26 Mar 2011 13:53:59 +0000
Subject: Re: Testing POST method
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-65763@lists.php.net to get a copy of this message
Christian Weiske wrote: > Hello Colin, > > >> SKIP Simple POST Method test [tests/basic/002.phpt] reason: CGI not >> available >> SKIP GET and POST Method combined [tests/basic/003.phpt] reason: CGI >> not available >> SKIP Two variables in POST data [tests/basic/004.phpt] reason: CGI >> not available >> SKIP Three variables in POST data [tests/basic/005.phpt] reason: CGI >> not available >> >> How to run official 'make tests' so that POST method is checked? > > Compile PHP with CGI enabled. > I did investigate cgi from ./configure --help, which indicates that there is an option to --disable-cgi, implying that cgi is enabled by default? I did recompile with explicit --enable-cgi which did not produce errors, however 'make test' repeats the skip with CGI not available. Web interface on compiled apache+php works with the exception of the segfault thrown on method=post.

« previous php.qa (#65763) next »