ziegel Posted August 20, 2009 Share Posted August 20, 2009 whats so bad about php cli? why do people hate it and think that its not worth the time to use? Quote Link to comment Share on other sites More sharing options...
roopurt18 Posted August 20, 2009 Share Posted August 20, 2009 I don't recall anyone making those statements, so what exactly are you talking about? Quote Link to comment Share on other sites More sharing options...
RichardRotterdam Posted August 20, 2009 Share Posted August 20, 2009 Indeed where do you get this information? I like PHP-CLI and I use it quite often. Quote Link to comment Share on other sites More sharing options...
markwillis82 Posted August 20, 2009 Share Posted August 20, 2009 I've used/still use PHP CLI for 99% off cron jobs I write and have made many applications using PHP CLI - It's much easier / tidier to keep a whole application (websites + scheduled tasks) all in one language. Obviously BASH/DOS/powershell and other command line applications have more "Operating system" usage, but PHP CLI has it's benefits. Mark Willis Quote Link to comment Share on other sites More sharing options...
Garethp Posted August 20, 2009 Share Posted August 20, 2009 What is CLI? Googled it, but it came up with a Linux tutorial and lots of PHP from Command Line results Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted August 20, 2009 Share Posted August 20, 2009 What is CLI? Googled it, but it came up with a Linux tutorial and lots of PHP from Command Line results That is because CLI means Command Line Interface. So PHP CLI would be using PHP from the command line. Quote Link to comment Share on other sites More sharing options...
Garethp Posted August 20, 2009 Share Posted August 20, 2009 Can you do that in Windows? Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted August 20, 2009 Share Posted August 20, 2009 You can do it on any platform. Check out the PHP manual for more information. It's got a section about the CLI. Quote Link to comment Share on other sites More sharing options...
markwillis82 Posted August 20, 2009 Share Posted August 20, 2009 yes, you can do it from windows. You can either add your PHP directory (folder containing php.exe) into your PATH environment variable, or "cd" into the php directory and call "php" from there Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.