Re: [INTERNALS-WIN] STDIN missing.
[email protected] (Pierre Joye)
| Newsgroups | php.internals.win |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 25, 2009 at 11:03 PM, Garrett Serack<[email protected]> 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