Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
11-24-2005, 07:34 PM #1
- Join Date
- Apr 2005
- Thanked 0 Times in 0 Posts
using a php script from linux command line
Howdy, Happy Turkey Day,
Does anybody here know how to start a php script from a linux command line. I have written a little script that needs to end with a php script but I cant get it to work.
11-24-2005, 08:40 PM #2
Unless PHP was compiled without the CLI (which is unusual), you should be able to use the commandCode:
php [options] [-f] <file> [args...]Code:
php [options] -r <code> [args...]