0
This means that the environment variables do not have the php path, to add first locate the folder where PHP is, assuming it is c:\php\php.exe
copy only the c:\php
, now do the following
- Right-click the mouse/mouse on My Computer and Estates
- In the left side menu click on Advanced system settings
- Look for a button called Environment variables, click on it
Look for the variable PATH and double click, should return something similar to this:
C: Users Inphinit Appdata Roaming Composer vendor binC: Users Inphinit Appdata Roaming npm;C: Users Inphinit Appdata Local Github Portablegit_f02737a78695063deace08e96d5042710d3e32db cmd;C: Program Files LLVM bin
Then at the end add ;C:\php;
, thus:
C: Users Inphinit Appdata Roaming Composer vendor binC: Users Inphinit Appdata Roaming npm;C: Users Inphinit Appdata Local Github Portablegit_f02737a78695063deace08e96d5042710d3e32db cmd;C: Program Files LLVM bin;C: php;
Press OK on both windows until everything closes, then log out on Windows and then PHP will be available globally.
I never managed to use Atom, it was heavy and gave errors, now I use netbeans is heavy but it works
– Sveen
Install the package
atom-autocomplete-php
you probably installed the packageautocomplete-php
without the Atom in front– Diéfani Favareto Piovezan
Another thing, you installed the
php
? Which one are you wearing?– Diéfani Favareto Piovezan