Services loaded with NSSM have the PATH environment variable rewritten.
Impacted services are : Apache, Mailpit, Xlight and Memcached.
As you can see you can add paths relative to the Bearsampp root folder (eg. www).
In the phpinfo the Apache environment will look like this :
And as you can see some paths are automatically added :
- %SystemRoot%\system32
- %SystemRoot%
- %SystemRoot%\system32\Wbem
- %SystemRoot%\system32\WindowsPowerShell\v1.0
- BEARSAMPP_PATH\bin\apache\apache*\bin
- BEARSAMPP_PATH\bin\php\php*
- BEARSAMPP_PATH\bin\php\php*\pear
- BEARSAMPP_PATH\bin\php\php*\imagick
- BEARSAMPP_PATH\bin\nodejs\nodejs*
- BEARSAMPP_PATH\bin\svn\svn*
- BEARSAMPP_PATH\tools\composer\composer*
- BEARSAMPP_PATH\tools\git\git*\bin
- BEARSAMPP_PATH\tools\imagemagick\imagemagick*
- BEARSAMPP_PATH\tools\python\python*\bin
- BEARSAMPP_PATH\tools\ruby\ruby*\bin
If you wish to use the terminal you can use php -m and this will give you a list of all loaded modules
