Home > Article > Backend Development > How to check the php version of your computer
How to check the php version of your computer?
The simplest way is to create a new php file such as test.php, enter
<?php phpinfo(); ?>
, save it and put it in the root directory of the URL. In the browser, enter http://your Domain name/test.php will display the PHP version used by the current website.
For more PHP related knowledge, please visit PHP Chinese website!
The above is the detailed content of How to check the php version of your computer. For more information, please follow other related articles on the PHP Chinese website!