Bug #18591: option prameters on command line are not unquoted
| From: | nepto at pobox dot sk | Date: | Fri, 26 Jul 2002 13:22:02 +0000 |
| Subject: | Bug #18591: option prameters on command line are not unquoted | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-15335@lists.php.net to get a copy of this message | ||
From: nepto@pobox.sk
Operating system: FreeBSD, GNU/Linux
PHP version: 4.2.0
PHP Bug Type: Scripting Engine problem
Bug description: option prameters on command line are not unquoted
I'm using PHP shell script runned by crond with following first line:
#!/usr/bin/env php -q -d 'max_execution_time=0'
But sometimes it exceed execution timeout. Setting on commmand line -d
'max_execution_time=0' is completely ignored. It is due to quoting
apostrophes. Without them, it works fine.
I expected that it will either print warning or error message, that
'max_execution_time is unknown INI option, or it will unquote arguments
for PHP options on command line.
--
Edit bug report at http://bugs.php.net/?id=18591&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18591&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18591&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18591&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18591&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18591&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18591&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18591&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18591&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18591&r=globals