What php.ini are you using?
Try to use php.ini-dist.
(i.e. cp php.ini-dist php.ini in php source root)
Then it should work.
The cause is probably register_globals=off in your php.ini.
David Wight wrote:
> I have compiled php on Solaris 2.6 with Mysql 3.22 using gcc 2.95.2
> configured with the following:
> configure --with-nsapi=/opt/netscapeSvr/ns-home
> --with-mysql=/opt/mysql-3.22 --enable-track-vars --enable-libgcc
>
> When testing using: ./php -q run-tests.php tests
> I get the following failures:
>
> Running tests in /home/dwight/php/php-4.0.4pl1/tests/basic
> ==========================================================
> Trivial "Hello World"
> test ... passed
> Simple POST Method test (002.phpt) ...
> failed
> GET and POST Method combined (003.phpt) ... failed
> Two variables in POST data (004.phpt) ...
> failed
> Three variables in POST data (005.phpt) ...
> failed
> Add 3 variables together and print result
> .... passed
>
> All other tests are passing.....
>
> Any ideas on where to look to find out why the GET and POST methods are
> failing?
> Thanx in advance...
> [EMAIL PROTECTED]
--
Yasuo Ohgaki
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]