title: Executing php script in command line using only file name and no php command
body: <p>How can I configure linux/php to run php scripts without having to type the php -f command everytime I want to run a script. 
  i.e.</p>
  
  <p>Instead of:</p>
  
  <pre><code>$ php -f /path/to/file/script.php
  </code></pre>
  
  <p>I would like for the script to run when I do just this:</p>
  
  <pre><code>/path/to/file/script.php
  </code></pre>
  
  <p>My google-fu has failed me in this regard, and mostly all other SO questions regarding running php from the command line don't really help.  Our remote server at work does this, and I'm a little baffled by how it's done. I'm thinking something to do with the .php extension? No hash-bangs are used either in any php file.</p>