Home >Backend Development >PHP Tutorial >Use phpinfo() to print the php version and use php on the server, phpinfophp_PHP tutorial

Use phpinfo() to print the php version and use php on the server, phpinfophp_PHP tutorial

WBOY
WBOYOriginal
2016-07-12 09:01:521590browse

Use phpinfo() to print the php version and use php on the server, phpinfophp

 php -v is the php version of the Linux system, and what is displayed in phpinfo is the WEB Server version configured in. To put it simply, there are two php versions in your system.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1087781.htmlTechArticleUse phpinfo() to print the php version and use php on the server, phpinfophp php -v is for Linux system php version, and what is displayed in phpinfo is the version configured in the WEB Server. To put it simply,...
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