title: How to override register_argc_argv in PHP?
body: <p>I'm using a shared host (fasthostingdirect) and for some reason they have this flag turned off by default. This means I'm unable to access PHP command line parameters... unless I use the <code>-n</code> (= <code>--no-php-info</code>) flag after <code>php.exe</code>.</p>
  
  <p>Have tried <code>ini_set('register_argc_argv', 1)</code> in my php file but it has no effect. Am guessing this is due to the clamped down nature of the hosting provider, however they don't stop the <code>-n</code> option - not sure of the other implications of using this though. Does anyone have any better suggestions?</p>