How to check if your system has php installed
This article mainly explains "how to check whether the system is installed with php". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to check whether the system is installed with php".
Operating environment of this tutorial: windows7 system, PHP7.1 version, DELL G3 computer
View method 1: use the phpinfo () function
Directly output the phpinfo () function
If configuration information about PHP is returned, install php.
View method 2: use the phpversion () function
It is also direct output.
If the PHP version number is returned, install php.
Thank you for reading, the above is the content of "how to check whether the system is installed with php". After the study of this article, I believe you have a deeper understanding of how to check whether the system is installed with php, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!