AtomLinter / linter-php

Lint PHP on the fly, using php -l
MIT License
67 stars 19 forks source link

[Linter] Error running PHP Error #394

Open johnnya23 opened 2 years ago

johnnya23 commented 2 years ago

I can't get anywhere with this. I'm on linux (mint). whereis php: php: /usr/bin/php /usr/bin/php7.4 /usr/lib/php /etc/php /usr/share/php7.4-xml /usr/share/php7.4-zip /usr/share/php7.4-mbstring /usr/share/php7.4-curl /usr/share/php7.4-mysql /usr/share/php /usr/share/php7.4-common /usr/share/php7.4-gd /usr/share/php7.4-json /usr/share/php7.4-readline /usr/share/php7.4-bcmath /usr/share/php7.4-opcache /opt/lampp/bin/php /usr/share/man/man1/php.1.gz

Have I improperly installed php?

In console I see (with usr/bin in the executable path settings) : linter-registry.ts:133 [Linter] Error running PHP Error: spawn /usr/bin EACCES at Process.ChildProcess._handle.onexit (internal/child_process.js:264) at onErrorNT (internal/child_process.js:456) at processTicksAndRejections (internal/process/task_queues.js:81)