[thelist] [php] running scripts via command line

Paul Bennett paul at teltest.com
Tue Dec 10 02:33:02 CST 2002


>file association only if you want to call the script directly like so
>c:\> myscript.php
>
>if you are calling the PHP interpreter then you don't need any
>associatins, just make sure it's in your path (Win -> Right click
>MyComputer -> Properties -> Advanced -> Environment Variables -> Path
>(edit) and at the end append   ;c:\phpfolder\php.exe
>
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.

>
>aleem
>
>http://members.evolt.org/aleem/
>
>
>
>

--
Paul Bennett
Internet Developer
Teltest Electronic Design
--------------------------
Phone : 64 4 237 0767
Web : http://www.teltest.com
Wap : http://wap.teltest.com
Email : paul at teltest.com
--------------------------






More information about the thelist mailing list