PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Reading arguments from the command line or stdin just doesn't work. register_argc_argv=On in my .ini and I've also tried setting register_globals to On with no success.
I'm using PHP 4.2.2 compiled as a standalone CGI, and I'm not running on win32. I think there will be some improvements for running scripts from the shell in 4.3, however I'm having enough problems without compiling an alpha version.
Trivial "Hello World" test ... passed
ї1mSimple POST Method test (002.phpt) ... failedїm
ї1mGET and POST Method combined (003.phpt) ... failedїm
ї1mTwo variables in POST data (004.phpt) ... failedїm
ї1mThree variables in POST data (005.phpt) ... failedїm
Add 3 variables together and print result ... passed
Multiply 3 variables and print result ... passed
Divide 3 variables and print result ... passed
Subtract 3 variables and print result ... passed
Testing | and & operators ... passed
ї1mTesting $argc and $argv handling (011.phpt) ... failedїm
======================
PHP_SAPI : cli
PHP_VERSION : 4.3.0-dev
PHP_OS : Linux
======================
FAIL Test array_merge and array_walk (001.phpt)
FAIL Test arsort, asort, krsort, ksort, rsort, and sort (002.phpt)
FAIL Test usort, uksort and uasort (003.phpt)
-------------------------------
PASS Trivial "Hello World" test (001.phpt)
SKIP Simple POST Method test (002.phpt)
SKIP GET and POST Method combined (003.phpt)
SKIP Two variables in POST data (004.phpt)
SKIP Three variables in POST data (005.phpt)
PASS Add 3 variables together and print result (006.phpt)
PASS Multiply 3 variables and print result (007.phpt)
PASS Divide 3 variables and print result (008.phpt)
PASS Subtract 3 variables and print result (009.phpt)
PASS Testing | and & operators (010.phpt)
FAIL Testing $argc and $argv handling (011.phpt)
---------------------------------
FAIL Output buffering tests (006.phpt)
FAIL Regression test (023.phpt)
FAIL Looped regression test (may take a while) (024.phpt)
FAIL Internal hash position bug on assignment (Bug #16227) (031.phpt)
Really I want sockets, curl and gd support so a packaged version is not suitable. I don't understand why these tests are failing
...but I'm running the tests straight after ./configure --without-installing. I'm not running the thing in a chroot env.
I think that I must be missing a library or something, I just don't know which one
This could be a good reason to try that gentoo distro everybody keeps talking about. Thanks anyway.
Are you getting 'almost the same errors' as me - or just with/without chrooting.
both
anyway gentoo dl is at 35% I should have it installed pretty soon
it depends.
if you took stage3-tarball: may be.
If you're starting with stage1 only your journey has just begun.
Somewhere in the documentation the author states "X will take for ever to compile. KDE even longer." He's right
But it's worth the time. Although I don't use KDE anymore (too colourous, too slow, too - too - fancy ) I'm impressed what my K6 can do