I need to run a php script from command line, does anyone know how I can do this?
How to run php script from shell?
Collapse
X
-
If your PHP was compiled as an Apache module, you can't do that. If it was compiled as a CGI then just run php -f phofile.phpI couldn't possibly know what I'm talking about, I'm completely, absolutely and definitively out of my fucking mind. -
-
If you do wget or lynx or curl make sure to set timeout to something more than the deafult 30 seconds if your script takes its sweet time to run.I couldn't possibly know what I'm talking about, I'm completely, absolutely and definitively out of my fucking mind.Comment

Comment