u/Daenn

▲ 0 r/pop_os

Hi,

I followed these steps to install php v7.4. No error messages, and php -v confirms I have 7.4.33. whereis php returns /usr/bin/php /usr/lib/php /etc/php /usr/share/man/man1/php.1.gz. So in VSCode's settings for the "php executable path", I put in /usr/bin/php, but it says that isn't a valid php executable. After checking, that folder doesn't even exist, so I tried to point to /usr/lib/php or /usr/lib/php/7.4 but none worked.

I'm not sure what file VSCode is looking for, so I'm not sure what path to use. It's probably something stupid I'm missing... Any ideas?

Pop!_OS 24.04, kernel 6.18.7-76061807-generic.

Thanks!

u/Daenn — 9 days ago