PHP Manual
Prev |  | Next

# phpinfo

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

phpinfo -- Output lots of PHP information.

## Description

``int phpinfo` ([int what])`

Outputs a large amount of information about the current state of PHP. This includes information about PHP compilation options and extensions, the PHP version, server information and environment (if compiled as a module), the PHP environment, OS version information, paths, master and local values of configuration options, HTTP headers, and the PHP License.

The output may be customized by passing one or more of the following values sumed together in the optional parameter `what` (one can also combine them together with the or operator.

- INFO_GENERAL

- INFO_CREDITS

- INFO_CONFIGURATION

- INFO_MODULES

- INFO_ENVIRONMENT

- INFO_VARIABLES

- INFO_LICENSE

- INFO_ALL

See also phpversion(), phpcredits(), php_logo_guid()

Prev | Home | Next
phpcredits | Up | phpversion