Running PHP script from the command line
<p>How can I run a php script from the command line using the php interpretor which is used to parse web scripts.</p>

<p>More detail -</p>

<p>I have a <code>phpinfo.php</code> file which if accessed from the web shows that <code>gearman</code> is installed. However if I run the <code>phpinfo.php</code> from the command line using - <code>php phpinfo.php</code> and <code>grep</code> for <code>gearman</code>, I don't find it. So both phps are different. I need to run a script which the <code>php</code> on which <code>gearman</code> is installed.</p>

<p>How can I do this?</p>
