Rev cgi & PHP - new question (shell command)
Alex Tweedly
alex at tweedly.net
Thu Aug 25 16:19:02 EDT 2005
jbv wrote:
>OK folks, as I haven't got a single answer to my
>question posted yesterday, I'll try a new approach :
>in Linux, what is the shell command to launch a
>php script ?
>
>
With a big, apologetic grin on my face, I'll say "php myscript.php" :-)
But really, it depends on how you installed php and whether or not you
added it (or its directory) to your PATH set up. If you didn't then
you'd need to do something like
/usr/local/bin/php myscript.php
(that's for a standard PHP install - but some distros will put it in
other places.
--
Alex Tweedly http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23/08/2005
More information about the use-livecode
mailing list