I am using PHP 5.4.3 on wamp(local) and mongodb. When i run script from browser then it runs fine. but when i try to run it from command prompt (CLI). It gives me fatal error like 'Mongo class not found'.
Can anyone suggested me what i have done wrong here.
Thanks Ashsih Goyal