Get the App
SLTechnology News&Howtos  ›  Development  › 

How to check if your system has php installed

Shulou Source: shulou.com Published: 2022-06-03 16:48:35 11月14日 Update

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!

Tags: System function learning content method output information that is ideas situations tutorials articles more versions environment computer knowledge knowledge points articles follow Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft macOS MariaDB Docker Shulou Tech Info