[thelist] [php] running scripts via command line

Aleem Bawany aleem.bawany at utoronto.ca
Tue Dec 10 04:29:01 CST 2002


> done, and I still get :'php' is not recognised as an internal or
> external command, operable program or batch file when I type "php
> myscript.php" at the dos prompt.
>

I don't think you set it up correctly. The command not recognized means
it can't find php.exe. type c:\> path   and you should get a list of
directories in your path, you should also see the php folder there
(usually c:\php).

I think in my last mail I asked you to set the path to c:\php\php.exe
which is wrong. It should just be c:\php (or wherever your php folder
is)... sorry my bad.

aleem

http://members.evolt.org/aleem





More information about the thelist mailing list