-
Notifications
You must be signed in to change notification settings - Fork 28.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to setting php.validate.executablePath? #533
Comments
If the php executable is not on your path you can use the setting to point to the php executable. For example php.validate.executablePath="C:\\apps\\php\\php.exe" |
@dbaeumer Thank you! |
I am sorry the file ext was wrong |
What another settings do I need to debug php code? |
There is currently no out of the box support to debug PHP. You might want to look if an extension is available. |
thanks! |
Try that: |
How would I achieve this on my Mac running Mamp? I'm trying |
hi, |
on mac,add setting to setton.json: |
@only1shirish super helpful, I couldn't make sense of anything anyone was saying. |
I have tried everything on here but it is still not debugging or running or doing anything really |
@Nathan-Hanlon which OS are you on? |
Windows 10
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Dirk Bäumer <notifications@github.com>
Sent: Thursday, July 6, 2017 3:22:03 PM
To: Microsoft/vscode
Cc: Nathan Hanlon; Mention
Subject: Re: [Microsoft/vscode] How to setting php.validate.executablePath? (#533)
@Nathan-Hanlon<https://github.com/nathan-hanlon> which OS are you on?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#533 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AcedpqPJnA9vMioCPl0ZmO31J6fd7G0uks5sLO2LgaJpZM4GoKjv>.
|
I went to my workspace settings and typed php.validate.executablePath: "c://Users/User01/data/php.exe" but its not working even then. |
I've tried a few paths for PHP binaries on OS X, none of them seem to work. Visual Studio is finding PHP 5.6 somewhere on my computer and it's sticking to it, regardless of my settings. The error I get is "The language server needs at least PHP 7 installed. Version found: 5.6.30". Here are the different paths I've tried to give it:
Atom uses MAMP's php binary just fine. Visual Studio Code ain't having it. ¯_(ツ)_/¯ |
is not working for me ... sorry !!! |
trying to set mine |
Still having
|
Guys, just find the directory of the file where you can find your php.exe Mine was "C:\xampp\php\php.exe" I just had to change "\" to "/" Therefore "C:/xampp/php/php.exe" |
@ejljustimbaste It still doesn't work. |
you have to set for |
I added these and it worked, finally! |
How to setting php.validate.executablePath?
The text was updated successfully, but these errors were encountered: