Comments (13)
I got this problem when I had the wrong php.executablePath (and php.validate.executablePath) setting.
I was using /path/to/php/bin/ and changed it to /path/to/php/bin/php.
from vscode-php-intellisense.
Try typing which php
in the terminal,
from vscode-php-intellisense.
php.executablePath
needs to point to a binary, not a directory.
from vscode-php-intellisense.
Try this
VS: Version 1.32.1 (1.32.1)
OS: macOS 10.14.5
"php.executablePath": "/usr/local/opt/[email protected]/bin/php",
"php.validate.executablePath": "/usr/local/opt/[email protected]/bin/php",
from vscode-php-intellisense.
@sunverwerth this helped me to make this Extension works on Remote Server (Remote Development with VSCode). Thanks
from vscode-php-intellisense.
Check the permissions on the PHP executable
from vscode-php-intellisense.
@sunverwerth Thank you! I'd been searching for the solution for quite a while now and this was super helpful. Thank you! (Don't know why I didn't think of it. LOL. It was kind of a face palm moment.)
from vscode-php-intellisense.
@sunverwerth Thanks, your advice helped me
from vscode-php-intellisense.
0755
from vscode-php-intellisense.
@tjdraper Are you using this setting? if yes, what is it set to? This is very certainly a problem with your setup, not a bug in the extension
from vscode-php-intellisense.
Closing for lack of response
from vscode-php-intellisense.
Hi Felix, I have encounter this issue using a MAC. I have set php.executablePath to "php.executablePath": "/Applications/MAMP/conf/php7.2.8/" and I get this error. In this dir there is only two files: php.ini and pear.conf. Any suggestions are appreciated. Thank you.
from vscode-php-intellisense.
hi guy, my dir php only image , How to set path for php.executablePath
tks
from vscode-php-intellisense.
Related Issues (20)
- Extension issue
- Extension issue
- Extension issue
- Keeps popping up with a Warning saying that the extension is not working properly. So I disabled it.
- php intellisense not found in vscode HOT 4
- Extension issue - PHP IntelliSense ver 2.3.14
- Extension issue
- function names inserted as GlobalFunctionName
- Extension issue
- Dependency Dashboard
- Extension issue
- Deprecation notice on start-up
- Go to definition not working on use statements HOT 1
- phpcs: Unable to locate phpcs. Command failed: "C:/Servers/php8" --version '"C:/Servers/php8"' is not recognized as an internal or external command, operable program or batch file.
- Extension issue
- This plugin shows an error when using PHP mixed with HTML
- Is this dead? HOT 2
- Deprecation warning via Github Copilot
- PHP + HTML indentation pattern
- Go To Definition fails with Definition not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-php-intellisense.