RE: [PHP] executables (.exe)
| From: | Jonathan Sharp | Date: | Thu, 22 Mar 2001 02:18:46 +0000 |
| Subject: | RE: [PHP] executables (.exe) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45060@lists.php.net to get a copy of this message | ||
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:lemming@vento.com.br]
> Sent: Wednesday, March 21, 2001 5:25 PM
> To: php-general@lists.php.net
> 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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>