How to fix BufferedProcessError?


#1

Hi everyone,

I am coding in PHP using Codeigniter and anytime I edit anything in my files I get this error:

BufferedProcessError: Failed to spawn command ‘php’. Make sure it’s a file, not a directory, and it’s executable.

BufferedProcessError: Failed to spawn command ‘php’. Make sure it’s a file, not a directory, and it’s executable.
at handleError (C:\Users\a571643354.atom\packages\linter-tidy\node_modules\atom-linter\lib\helpers.js:67:26)
at parameters.exit (C:\Users\a571643354.atom\packages\linter-tidy\node_modules\atom-linter\lib\helpers.js:86:13)
at triggerExitCallback (C:\Users\a571643354\AppData\Local\atom\app-1.5.1\resources\app.asar\src\buffered-process.js:213:47)
at C:\Users\a571643354\AppData\Local\atom\app-1.5.1\resources\app.asar\src\buffered-process.js:227:18
at Socket. (C:\Users\a571643354\AppData\Local\atom\app-1.5.1\resources\app.asar\src\buffered-process.js:98:18)
at emitOne (events.js:82:20)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:469:12)

I just started using atom today and I don’t have a clue what any of this means, but it gets annoying that it pops up with every single edit I make to my code.