wodby / php

Generic PHP docker container images
MIT License
155 stars 103 forks source link

Failed to execute remote command by Drush v9 alias #64

Closed pprishchepa closed 5 years ago

pprishchepa commented 5 years ago

I cannot execute remote drush command because of error env: can't execute 'php': No such file or directory. It seems the issue caused by wrong env var PATH in PHP container in sshd session env var:

PATH=/bin:/usr/bin:/sbin:/usr/sbin

Aliases in Drush v9 does not allow to specify env vars so I cannot override PATH value.

csandanov commented 5 years ago

For some reason we did not pass $PATH in ~/.ssh/environment. Fixed now.

csandanov commented 5 years ago

Included in 4.11.0

weitzman commented 5 years ago

Aliases in Drush v9 does not allow to specify env vars so I cannot override PATH value.

Now available in Drush 10.