Jump to content

Archived

This topic is now archived and is closed to further replies.

delta101

PHP script works in webpage - but not from CMD line!!

Recommended Posts

Hi

I was wondering why I'm unable to run a php script from the CMD line of a linux server - where it returns an error on every single line

BUT - when it's uploaded in a webpage on a linux server it runs perfectly.

Does anyone have any ideas?

Share this post


Link to post
Share on other sites
We need more information from you before we could suggest any solutions:[list][*]How are you invoking PHP at the command level?[*]What version of PHP?[*]Does it fail with every script you try? or just some?[/list]
Ken

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.