Home  >  Article  >  Backend Development  >  How to check the php version of your computer

How to check the php version of your computer

藏色散人
藏色散人Original
2019-10-02 13:12:495647browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:how to create php fileNext article:how to create php file