Register_globals in PHP as a CGI binary


Since register_globals is considered a huge security hole. I turned off register_globals via .htaccess (php_flag register_globals Off), which works fine for my .php files.

However, I also use a couple of .pcgi files, so I also need to turn this off when using PHP as a CGI binary. How would I do this?