If you're on windows, (which i'm assuming you are) you can call the PHP
binary with the path to your php script...

so (assuming you have C:\php\bin\ as part of your PATH enviromental
variables for windows) you could do PHP C:\path\to\php-script.php and it
will run on the command line...or just give the full path to the php.exe
file...

C:\php\bin\php.exe C:\path\to\php-script.php

cheers,
-Jonathan

> -----Original Message-----
> From: Christian Dechery [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 21, 2001 5:25 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] executables (.exe)
>
>
> Correct me if I'm completely out of my mind here (often I am).
>
> But I think, I read somewhere that u can compile .php files and make
> executables of them to run in the command line like programs... is this
> true? How can I get it to work? WHat do I need?
> ____________________________
> .. Christian Dechery (lemming)
> .. http://www.tanamesa.com.br
> .. Gaita-L Owner / Web Developer
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to