LeonLatex Posted March 23, 2023 Share Posted March 23, 2023 I don't remember how I did this last time. Should the 1st line point to php.exe and the 2nd line point to phpdbg.exe or both pointing to php.exe? After i bought me a new laptop, VSC won't work because i have to re-configure it. Can you guys please tell me witch of the lines should include what? I cant make it work no matter what. But before I move on I have to get these two lines right, be sure it's right. This is how it is now: "php.validate.executablePath": "C:\\laragon\\bin\\php\\php-8.1.10-Win32-vs16-x64\\phpdbg.exe", "php.debug.executablePath": "C:\\laragon\\bin\\php\\php-8.1.2-Win32-vs16-x64\\phpdbg.exe", I have tried this too: "php.validate.executablePath": "C:\\laragon\\bin\\php\\php-8.1.10-Win32-vs16-x64\\php.exe", "php.debug.executablePath": "C:\\laragon\\bin\\php\\php-8.1.2-Win32-vs16-x64\\phpdbg.exe", Quote Link to comment https://forums.phpfreaks.com/topic/316033-problem-with-configuring-visual-studio-code-again/ Share on other sites More sharing options...
LeonLatex Posted March 25, 2023 Author Share Posted March 25, 2023 I still need help with this. Please help me make VSC work. Quote Link to comment https://forums.phpfreaks.com/topic/316033-problem-with-configuring-visual-studio-code-again/#findComment-1606833 Share on other sites More sharing options...
gizmola Posted March 29, 2023 Share Posted March 29, 2023 It kinda depends on how you set things up. For example, you are referring to Laragon. Did you use that to install PHP on your new computer? If so, are you able to open up a command terminal, and type php -v and get the cli client? If so, I don't think you need anything that you are currently trying to do, so you're making a mess. Also I would recommend this: Install the intelephense plugin or the php tools plugin from devsense Follow the instructions carefully to configure either one The default php extension is borked and basically doesn't work right. Setting you are making aren't relevant to either intelephense or to php tools. These instructions include disabling the default extension that will conflict with intelephense if you don't disable it see https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client This videos is the most complete coverage of setup of a PHP environment on windows i've seen. He demonstrates and advocates for many extensions he finds useful for php web development and what he uses them for. He also shows you how to use WSL integration as an alternative to local php on windows dependence, which has some advantages. 1 Quote Link to comment https://forums.phpfreaks.com/topic/316033-problem-with-configuring-visual-studio-code-again/#findComment-1606925 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.