|  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
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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
49 - 33 = ?
Subscribe to this entry?

 [2005-09-12 02:07 UTC] csaba at alum dot mit dot edu
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-30 23:06 UTC]
-Package: Feature/Change Request +Package: *General Issues
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Sep 26 00:01:25 2023 UTC