| Programming C# C++ (7) Delphi (618) Java (8) JavaScript (29) perl (9) php (4) GTK (2) VBScript (1) Visual Basic (1)
|
Get information about php version and configuration
Question: How can I find out which version of php is installed on my server?Answer: Use the php function phpinfo() which delivers lots of information about your server's configuration. Typically this will look like below. The function will put out the information HTML encoded when called within a web page and as plain text when using the CLI mode.There is a configuration variable expose_php which decides whether PHP will expose the fact that it is installed on the server (e.g. by adding its signature to the Web server header). If this variable is set to off then see less information. If you're just interested in the version number, you can call phpversion() instead. This function returns version information as a string.
Comments:
|