[PHP-users 5339] Re: コマンドライン版実行時のオプションエラ

Tomoyuki Asakawa php-users@php.gr.jp
Sun, 10 Feb 2002 16:31:16 +0900


あさかわ

PHP-4.1.1のNEWSというファイルに、こういう記述があります。

- Added register_argc_argv INI directive, to allow to selectively disable
   the declaration of the $argv and $argc variables for increased
   performance (Zeev)

試してませんが

php.iniが古い場合
register_argc_argv = On
を追加してみてはどうでしょう。

もしくは
php.ini-distを、そのままつかうとか。