php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #34470 Open With shows no distinction tween php and php-win
Submitted: 2005-09-12 02:07 UTC Modified: 2016-12-30 23:06 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: csaba at alum dot mit dot edu Assigned:
Status: Open Package: *General Issues
PHP Version: 5.1.0RC1 OS: Windows
Private report: No CVE-ID: None
 [2005-09-12 02:07 UTC] csaba at alum dot mit dot edu
Description:
------------
Quick summary: the Description for php.exe and php-win.exe are the same and this leads to confusion when doing Open With.

If (on my Windows XP Pro) I right click a .php file, one of the options is Open With.  At this point, I could select Choose Program at the bottom of the list, then select the Browse button, and then navigate to the php directory and select either one of php.exe or php-win.exe (or even php-cgi.exe).

If I select one (say php.exe), click Open, then click OK, my PHP script is run (note the dos cmd window flash) - so far so good.

Now I go through the same process only select the other one (php-win.exe) and run it (note there is no cmd window flash) - so far still so good.

Now I right click that .php file for the third time and pay attention to what is listed under the Open With section.  Now it is not so good because I see CLI listed twice, once for php.exe and once for php-win.exe
I presume Windows is pulling the name out of the Description field - if you right click either of the two .exe files, you can see that only the Description field has CLI.

If would be really good of PHP to update the description field for php-win.exe to something like "Win CLI" to give the user a clue.

Csaba Gabor from Vienna


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-30 23:06 UTC] cmb@php.net
-Package: Feature/Change Request +Package: *General Issues
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 12:01:29 2024 UTC