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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -