Friday, June 24, 2011

[phpXperts] Running php using command line

 

Hi Experts,

I am trying to run php file using command line 

c:\php\php.exe c:\test.php

In test.php i have written a code which uses PHP Soap library. when i run this in browser, it works fine.
But when i run through command line it returns an error Class SoapClient not found.

Can any one tell me how can i include libraries when i run using cmd prompt.

Thank you in Advance!

_________
padalagandham


__._,_.___
Recent Activity:
Visit phpXperts website at www.phpxperts.net
.

__,_._,___

No comments: