| Posted by Gilles Ganault on 01/25/08 05:56 
Hello
 I need to write PHP scripts on an AstLinux distribution. Even
 though I added the "-q" switch on the shebbang line, PHP still outputs
 some HTML:
 
 ==========
 # cat test.php
 
 #!/usr/bin/php -q
 <?php
 echo "test";
 ?>
 ==========
 # ./test.php
 X-Powered-By: PHP/5.2.5
 Content-type: text/html
 
 test#
 ==========
 
 Is there a switch somewhere to tell PHP to actually run scripts
 quietly, or is it just the way PHP works when called from mini-httpd?
 
 FWIW, here's phpinfo:
 
 http://pastebin.ca/871766
 
 Thank you.
  Navigation: [Reply to this message] |