Re: Testing POST method
| From: | Colin Beckingham | Date: | Sat, 26 Mar 2011 14:32:24 +0000 |
| Subject: | Re: Testing POST method | ||
| References: | 1 2 3 4 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-65765@lists.php.net to get a copy of this message | ||
Felipe Pena wrote:
> Hi,
>
> 2011/3/26 Colin Beckingham <colbec@start.ca>
>
>> 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.
>>
>>
> But the php-cgi binary was created in sapi/cgi/ ?
>
It looks like it was not created. The sapi/cgi/ contains the make and
build files, but no executable created. sapi/cli/ contains a php
executable.
Where to from here?