I am creating an installation process that needs to know where PHP (php-win.exe) is installed on Windows. He asks the user for a location, but ideally he will first check for a few obvious places.
The obvious installation paths include:
- C: / Program Files / PHP
- C: / WAMP / bin / PHP / version /
Does anyone have a list or more suggestions?
[this is used by the command line tool, not by the installer, which will simplify the selection of the folder].
source
share