Re: [INTERNALS-WIN] STDIN missing.
| From: | Pierre Joye | Date: | Tue, 25 Aug 2009 21:08:14 +0000 |
| Subject: | Re: [INTERNALS-WIN] STDIN missing. | ||
| References: | 1 2 3 4 5 | Groups: | php.internals.win |
| Request: | Send a blank email to internals-win+get-580@lists.php.net to get a copy of this message | ||
On Tue, Aug 25, 2009 at 11:03 PM, Garrett Serack<garretts@microsoft.com> wrote:
> I just installed PHP using the installer (something I can't ever recall doing before ;) )
>
> I enabled the "Script Executable" and it's child "Register *.php files to
> open automatically with PHP") options.
>
> This apparently sets the handler for .PHP scripts to php-win.exe (which is a GUI process, not a
> console one) so I assume this is the process you see in the task manager.
>
> This would need to be set to php.exe for the script to work correctly.
>
> From your example, I can't see how:
>
> C:\Scripts\Reverse
>
> Would even run the script, from the install of PHP, it doesn't appear that the PATHEXT
> environment variable is modified so that .PHP is a recognized extension for executables.
http://docs.php.net/manual/en/install.windows.commandline.php
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org