PATH env. var is not resolved by Apache service Resolved
Services loaded with NSSM have the PATH environment variable rewritten.
Impacted services are : Apache, MailHog and Memcached.
For each of these services the item Update env. PATH is available in the Neard’s tray menu to add new paths to the PATH environment variable (one by line).
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
#20