- Forums
- Snippets
- XAMPP Visual Code Setup php.executablePath and php.validate.executablePath
This Page Contains information about XAMPP Visual Code Setup php.executablePath and php.validate.executablePath By ed in category Snippets with 0 Replies. [5038], Last Updated: Mon Jun 24, 2024
ed
Wed Dec 21, 2022
0 Comments
722 Visits
- To setup you XAMPP PHP to Visual Code, go to File > Preferences > Settings
- In settings, search for PHP
- Click on PHP
- Select the PHP > Executable Path by Clicking on the Edit in settings.json link
- In the JSON file look for php.executablePath and php.validate.executablePath
- Set both as desired
- Save your changes
- Done
"php.executablePath": "F:\\apachefriends\\xampp\\php\\php.exe",
"php.validate.executablePath": "F:\\apachefriends\\xampp\\php\\php.exe",