ID:               17348
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]

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

Reply via email to