Skip to content
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

PHP Not Found (Ubuntu) #131

Open
NetlyLLC opened this issue Apr 15, 2023 · 3 comments
Open

PHP Not Found (Ubuntu) #131

NetlyLLC opened this issue Apr 15, 2023 · 3 comments

Comments

@NetlyLLC
Copy link

Hello
I am on Ubuntu 22.04 as my computer and I have set these settings
image
image
However when I serve project, it says PHP Not Found.
Would someone be able to help? I could provide more information if needed.

@christan-duplicate
Copy link

windows:Me too.

@Muschke
Copy link

Muschke commented Apr 27, 2023

same problem, for windows you should try to set the path via environment variables.

@Muschke
Copy link

Muschke commented Apr 28, 2023

I solved this issue. I previously had VS code installed from the software center. I installed it using the command line (sudo snap install --classic code). Than I added the correct path in the preference>settings>php>exectable path (for me /usr/bin/php), but check it with "which php" in command line. Than I just added Intelliphense and PHP live server and everything just worked. I didn't even had to disable the PHP Language Features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants