Friday, June 24, 2011

Re: [phpXperts] Running php using command line

 

hi there 

i think you have to create a system variable for php cli @ 1st and try to not use any unknown formats to bass the script test

:)] on the phone
 
Senior Web Developer
a7madzain@yahoo.com
 (+20) 114 943 403

From: gandham padala <padalagandham@yahoo.com>
To: "phpexperts@yahoogroups.com" <phpexperts@yahoogroups.com>
Sent: Friday, June 24, 2011 9:10 AM
Subject: [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: