Atom does not find PHP

0

I'm testing the atom but when installing the atom-beautify plugin it works in all languages but when I try to indent it in PHP it gives me that error.

  

Could not find 'PHP'. The program may not be installed.

     

See link for program installation   instructions. You can configure Atom Beautify with the absolute path   to 'php' by setting 'Executable - PHP - Path' in the Atom Beautify   package settings. Your program is properly installed if running   PHP 'in your Terminal returns an absolute path to the executable. If   it does not work then you have not installed the program correctly   and so Atom Beautify will not find the program. Atom Beautify requires   that the program is found in your PATH environment variable. Note   that this is not an Atom Beautify issue if beautification does not   work and the above command also does not work: this is expected   behavior, since you have not properly installed your program. Please   properly setup the program and search through existing Atom Beautify   issues before creating a new issue. See    link   for related Issues and    link for   documentation. If you are still unable to resolve this issue on your   own then please create a new issue and ask for help.

     

-Hide Stack Trace

     

Error: Could not find 'PHP'. The program may not be installed.       at Function.Executable.commandNotFoundError (/home/edsonlima/.atom/packages/atom-beautify/src/beautifiers/executable.coffee:264:14)       at HybridExecutable.Executable.commandNotFoundError (/home/edsonlima/.atom/packages/atom-beautify/src/beautifiers/executable.coffee:256:18)       at /home/edsonlima/.atom/packages/atom-beautify/src/beautifiers/executable.coffee:115:25       at tryCatcher (/home/edsonlima/.atom/packages/atom-beautify/node_modules/bluebird/js/release/util.js:16:23)       at Promise._settlePromiseFromHandler (/home/edsonlima/.atom/packages/atom-beautify/node_modules/bluebird/js/release/promise.js:512:31)       at Promise._settlePromise (/home/edsonlima/.atom/packages/atom-beautify/node_modules/bluebird/js/release/promise.js:569:18)       at Promise._settlePromise0 (/home/edsonlima/.atom/packages/atom-beautify/node_modules/bluebird/js/release/promise.js:614:10)       at Promise._settlePromises (/home/edsonlima/.atom/packages/atom-beautify/node_modules/bluebird/js/release/promise.js:689:18)       at Async._drainQueue (/home/edsonlima/.atom/packages/atom-beautify/node_modules/bluebird/js/release/async.js:133:16)       at Async._drainQueues (/home/edsonlima/.atom/packages/atom-beautify/node_modules/bluebird/js/release/async.js:143:10)       at Async.drainQueues (/home/edsonlima/.atom/packages/atom-beautify/node_modules/bluebird/js/release/async.js:17:14)       at process._tickCallback (internal / process / next_tick.js: 103: 7)

But php is installed properly, what can anyone know?

    
asked by anonymous 18.06.2017 / 18:56

1 answer

0

Now the Atom Editor has turned into the Atom IDE and is amazing thanks to an active Facebook community: Nuclide .

Do the following:

There are other lingaugens to poison your Atom. For more, check out this link .

    
21.10.2017 / 21:02