I tried executing a php file using "php nameOfFile.php" after navigating to its folder.
I got this error msg:
php is not recognised as an internal or external command
I added this dir: C:\wamp\bin\php\php5.5.12
which contain php.exe
to PATH ("Environment Variables")
reopened CMD and I still get the same error msg.
googling this error doesn't help me because all do the same.
EDIT:
When navigating to the bin/php/php5.5.12 and running php --version
I get the version output right.
When running the same on the main C:/ I get the first error back again "php is not recognised as an internal or external command"