Bug #17348 Updated: register_argc_argv on command line
| From: | edink@php.net | Date: | Wed, 22 May 2002 06:37:43 +0000 |
| Subject: | Bug #17348 Updated: register_argc_argv on command line | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-8170@lists.php.net to get a copy of this message | ||
ID: 17348
Updated by: edink@php.net
Reported By: hz11@nyu.edu
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: RedHat 7.3
PHP Version: 4.2.1
New Comment:
This is not a PHP bug but a limitation of Linux kernel. Line:
#!/usr/local/php/bin -q -d register_argc_argv=1
can contain only a single argument (-q in this case).
Previous Comments:
------------------------------------------------------------------------
[2002-05-21 21:13:36] hz11@nyu.edu
I've been using 4.1.2, but just compiled and installed 4.2.1. I
compiled as a CGI, and run local scripts from the command line like
this:
#!/usr/local/php/bin -q -d register_argc_argv=1
<?php print 'hello'; ?>
This has been working fine, but with 4.2.1, I get the odd error:
Error in argument 1, char 3: option not found
Error in argument 1, char 4: option not found -
Error in argument 1, char 3: option not found
I've compiled 4.2.1 both as a regular CGI and with --enable-cli. Both
are the same as well.
Thanks,
Hans
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17348&edit=1