Home > Article > Backend Development > What does phpinfo mean?
What does phpinfo mean?
phpinfo is a built-in function of PHP, which is used to output the specific configuration information of PHP in the form of a web page.
does not exist in a certain folder. The usage of phpinfo is as follows:
phpinfo - Output information about PHP configuration
bool phpinfo([ int $what = INFO_ALL])
Output a large amount of information about the current status of PHP, including PHP compilation options, enabled extensions, PHP version, server information and environment variables (if compiled as a module), PHP environment variables, operating system version information, path variables, local and primary values of configuration options, HTTP headers and PHP authorization information (License).
Because each system is installed differently, phpinfo() is often used to check configuration settings and predefined variables on the system.
phpinfo() is also a valuable debugging tool that contains all EGPCS (Environment, GET, POST, Cookie, Server) data.
Recommended: "PHP Tutorial"
The above is the detailed content of What does phpinfo mean?. For more information, please follow other related articles on the PHP Chinese website!