ID: 26206
User updated by: danielc at analysisandsolutions dot com
Reported By: danielc at analysisandsolutions dot com
-Status: Feedback
+Status: Open
Bug Type: CGI related
Operating System: Windows 2000
PHP Version: 5CVS-2003-11-11 (dev)
New Comment:
100% certain.
New PHP installs on this system are by moving the entirety of the old
install aside, extracting the contents of a new snapshot .zip file then
copying the exact files/structure over to the php directory. The
system finds the DLLS via the %path%, in which
"C:\PROGRA~1\Php;C:\PROGRA~1\Php\dlls;" are the first two entries.
The PHP DLL's have never been copied to any other location on this
computer.
Previous Comments:
------------------------------------------------------------------------
[2003-12-01 03:25:23] sniper@php.net
And you're absolutely sure you don't have ANY old PHP related dlls in
your system before you installed the snapshot?
(delete all php4ts.dll files..)
------------------------------------------------------------------------
[2003-12-01 00:35:22] danielc at analysisandsolutions dot com
No luck with the new snapshot.
Downloaded php5-win32-200312010330.zip, copied php.ini-recommended to
php.ini, turned register_argc_argv = On, ran the following...
C:\PROGRA~1\php\cli>php -i | grep argv
register_argc_argv => On => On
C:\PROGRA~1\php\cli>php -r " var_dump($_SERVER['argv']); " 1 2 3
PHP Notice: Undefined index: argv in Command line code on line 1
NULL
------------------------------------------------------------------------
[2003-11-29 00:15:40] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
I can not reproduce this on windows using latest CVS snapshot.
------------------------------------------------------------------------
[2003-11-27 19:24:09] danielc at analysisandsolutions dot com
Your test of ignoring the php.ini file via the -n flag gets it to work
as expected.
FYI...
C:\PROGRA~1\php\cli>php -i | grep argv
register_argc_argv => On => On
C:\PROGRA~1\php\cli>php -n -i | grep argv
register_argc_argv => On => On
_SERVER["argv"] => Array
C:\PROGRA~1\php\cli>php -v
PHP 5.0.0b3-dev (cli) (built: Nov 26 2003 04:10:19)
------------------------------------------------------------------------
[2003-11-27 19:03:46] iliaa@php.net
Try following:
php -n -r " var_dump($_SERVER['argv']); " 1 2 3
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/26206--
Edit this bug report at http://bugs.php.net/?id=26206&edit=1