Contents
Open a bash shell terminal and use the command “php –version” or “php -v” to get the version of PHP installed on the system. As you can see from both the command output above, the system has PHP 5.4.
How do I check my PHP version?
1. Type the following command, replacing [location] with the path to your PHP installation. 2. Typing php -v now shows the PHP version installed on your Windows system.
How do I find my localhost PHP version?
- First open your cmd.
- Then go to php folder directory, Suppose your php folder is in xampp folder on your c drive. Your command would then be: cd c:xamppphp.
- After that, check your version: php -v.
20 июл. 2016 г.