I'm trying out the Atom editor for nominations, I've installed the essential packages but it's giving error when I type PHP codes. What can I do to resolve this problem?
This means that environment variables do not have the path of php, so add first locate the folder where PHP is, assuming it is c:\php\php.exe
copy only c:\php
, now do the following
Look for the PATH variable and double-click it should return something like this:
C: \ Users \ InMinitor \ AppData \ Local \ GitHub \ PortableGit_f02737a78695063deace08e96d5042710d3e32db C: \ Users \ InMail \ AppData \ Roaming \ \ Program Files \ LLVM \ bin
Then at the end add ;C:\php;
, like this:
C: \ Users \ InMinitor \ AppData \ Local \ GitHub \ PortableGit_f02737a78695063deace08e96d5042710d3e32db C: \ Users \ InMail \ AppData \ Roaming \ \ Program Files \ LLVM \ bin; C: \ php;
Click Ok on both windows until you close everything, then log off Windows and log in then PHP will be available globally.