title: Error while executing php script from bash
body: <p>Hi im trying to execute php file from bash script</p>
  
  <pre><code>#!/bin/sh
  
  php ./func.php
  </code></pre>
  
  <p>and <code>func.php</code> file looks like</p>
  
  <pre><code>&lt;?php
  
  echo "php file";
  </code></pre>
  
  <p>And as output
  <code>PHP Warning:  Module 'apc' already loaded in Unknown on line 0
  </code></p>
  
  <p>EDIT:
  And maybe U can also tell me how to pass parameter to php file ??</p>