Re: executing PHP program in console???
From: Mark Kuiphuis (maluka_at_remove_this.koekeloekoe.nl)
Date: 05/17/04
- Next message: Antoni: "Looking for shopping example:"
- Previous message: Antoni: "Basics of the S_SESSION:"
- In reply to: Slawek Puklo: "Re: executing PHP program in console???"
- Next in thread: Neters Landreau: "Re: executing PHP program in console???"
- Reply: Neters Landreau: "Re: executing PHP program in console???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 17 May 2004 16:14:20 +0200
Slawek Puklo wrote:
> In <7d72bcc.0405170515.54fd8e21@posting.google.com>, bnp wrote:
>
>>I read that you can run PHP program in a console window.
>>How can I do that?
>
>
> Start with reading manual.
> http://www.php.net/manual/en/features.commandline.php
>
Or do the following!!!
Windows:
Make sure the /folder.to/php.exe in your path so php.exe can be called
from any folder on your system....
For windows normally: c:\php\
For Unix/Linux /usr/local/bin (at least on my MDK system)
Then do this in console:
$ php filename.php
If you need more command-line options (for Unix/Linux) do:
$ php --help
- Next message: Antoni: "Looking for shopping example:"
- Previous message: Antoni: "Basics of the S_SESSION:"
- In reply to: Slawek Puklo: "Re: executing PHP program in console???"
- Next in thread: Neters Landreau: "Re: executing PHP program in console???"
- Reply: Neters Landreau: "Re: executing PHP program in console???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|