How to Configure PHP executable in Visual Studio Code where my setup is Vagrant Ubuntu 16.06 in Windows 10 Host machine -
i have vagrant setup in machine , using homestead 7 laravel box php development. host computer running windows 10.
i using visual studio code 1.15.1.
my php executable not set in visual studio setting. how can configure php executable in current development environment? thanks.
to set in visual studio code, following
- go file -> preferences -> settings.
- look the setting
php.validate.executablepath = null,
. - point location of
php.exe
. (e.g. c:\php\php.exe). - finally, copy onto
user settings
pane on right side save. - output should this:
php.validate.executablepath = "c:\php\php.exe",
Comments
Post a Comment