pro_php thread: Re: how to run php in command line (fwd)
Don't use wget. If you want to run PHP on the command line, do it. Compiling php will create an executable. make install puts this in usr/local/bin, i think. Anyway, you can either do this: # php -q your_file.php The -q suppresses header output or make this the first line of your script: #!/usr/local/bin/php and just run it on the command line like any other shell script. nik
|





