You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure whether this is a plugin problem or something else, but I've run out of ideas.
I've migrated from another compose plugin to this but I'm unable to make it work as when I try to run any command, I get messages like this:
> Executing task: "/usr/local/bin/composer" diagnose -d '<path to my project>'<
env: php: No such file or directory
The terminal process "/usr/local/bin/zsh '-c', '"/usr/local/bin/composer" diagnose -d '<path to my project>''" terminated with exit code: 127.
Terminal will be reused by tasks, press any key to close it.
Path to composer is ok, I can execute it from VSCode's terminal (or any other terminal). php is in path.
I'm not quite sure what to set so that PHP is also recognised (but also unsure who needs the binary? is it the companion plugin?)
Thanks
The text was updated successfully, but these errors were encountered:
Hello @andrei-dascalu, could you provide the following info?
Your OS
VSCode version (run code -v)
Composer version (run composer -V)
PHP version (run php -v)
Could you confirm that PHP is actually in the PATH env variable? Sometimes the binary is just named, for example, php71 and php (without the version) is missing.
You can also try setting the complete path to composer and php binaries in settings, respectively:
composerCompanion.executablePath
php.validate.executablePath
Changing the setting terminal.integrated.persistentSessionReviveProcess to never may help if the above didn't.
Hi,
I'm not sure whether this is a plugin problem or something else, but I've run out of ideas.
I've migrated from another compose plugin to this but I'm unable to make it work as when I try to run any command, I get messages like this:
Path to composer is ok, I can execute it from VSCode's terminal (or any other terminal).
php
is in path.I'm not quite sure what to set so that PHP is also recognised (but also unsure who needs the binary? is it the companion plugin?)
Thanks
The text was updated successfully, but these errors were encountered: