PHP Tip, output HTTP headers

By default, the PHP binary will output HTTP headers when you run a PHP script from the command line. While this can be useful if you’re trying to debug a script which sends custom headers, the headers are often unnecessary at the shell. To suppress them, specify the -q flag to the `php` command.

Comments are closed.