Testing POST method
| From: | Colin Beckingham | Date: | Sat, 26 Mar 2011 10:48:45 +0000 |
| Subject: | Testing POST method | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-65760@lists.php.net to get a copy of this message | ||
I have an issue with latest PHP 5.3.6 on OpenSUSE 11.4 brand new install, and am trying to gather information using 'make test'. However when make test runs from the CLI I get
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
The test process is skipping a very important part of the process. I have determined that the issue is when a properly loaded form uses the POST method. This results in a crash of an Apache child, and the browser is no longer able to load php files as php, treating them instead as text. This is an important security issue. I think it is related more to Apache than PHP, but right now I am just gathering info.
How to run official 'make tests' so that POST method is checked?
--
---
Colin Beckingham