I just tried to know version of my PHP from windows command typing, C:\\> php -v But it is not working. It says php is not recognized as internal or ex
C:\\> php -v
php is not recognized as internal or ex
Just create a php file and write the code
and open the file in any browser. It will show the php version installed in your system.