Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325026

Summary: PHP executables - "search" doesn't find more than one executables in one directory
Product: z_Archived Reporter: Toshihiro Izumi <euthanasia_waltz>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED FIXED QA Contact: Sylvia Tancheva <silviya>
Severity: enhancement    
Priority: P3 CC: bartlomiej.l, silviya, wywrzal
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Toshihiro Izumi CLA 2010-09-11 03:56:20 EDT
On Windows,

1. Goto Preferences > PHP > PHP Executables
2. (Clear all executables if necessary)
3. Click Search and enter PHP installed directory such as C:\PHP
 => php.exe is registered
4. Repeat step.3 (same directory)
 => "No PHP executables found"
 ...php-cgi.exe should be found

php.exe and php-cgi.exe are installed in same directory usually.
However, 'search' feature searches one executable in/per one directory.

In other face, it allows one executable in one directory.
'search' ignores the directory registered already.

1. Goto Preferences > PHP > PHP Executables
2. (Clear all executables if necessary)
3. Add php-cgi.exe manually
4. Click Search and enter PHP installed directory
 => "No PHP executables found"
 ...php.exe should be found

It is inconvenient.
Comment 1 Bartlomiej Laczkowski CLA 2014-11-06 18:07:14 EST
Patch proposal: https://git.eclipse.org/r/36088

Added also a dialog for managing search results.
Comment 3 Sylvia Tancheva CLA 2014-11-18 10:31:17 EST
Verified. Closing