delta101 Posted May 16, 2006 Share Posted May 16, 2006 HiI 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 lineBUT - when it's uploaded in a webpage on a linux server it runs perfectly.Does anyone have any ideas? Link to comment https://forums.phpfreaks.com/topic/9782-php-script-works-in-webpage-but-not-from-cmd-line/ Share on other sites More sharing options...
kenrbnsn Posted May 16, 2006 Share Posted May 16, 2006 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 Link to comment https://forums.phpfreaks.com/topic/9782-php-script-works-in-webpage-but-not-from-cmd-line/#findComment-36284 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.