★ wanayoo — archive 1999 http://www.php.net/manual/hu/function.phpinfo.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to PHP opciók/infók
Quick Reference
English version of this pageGerman version of this pageJapanese version of this pageItalian version of this pageFrench version of this page
PHP opciók/infók
* error_log
* error_reporting
* extension_loaded
* getenv
* get_cfg_var
* get_current_user
* get_magic_quotes_gpc
* get_magic_quotes_runtime
* getlastmod
* getmyinode
* getmypid
* getmyuid
* getrusage
* phpinfo
* phpversion
* php_logo_guid
* php_sapi_name
* putenv
* set_magic_quotes_runtime
* set_time_limit
* zend_logo_guid
* get_loaded_extensions
* get_extension_funcs
* get_required_files
* get_included_files
Manual: phpinfo
View the source code for this pageSearch the site



Previous page
 getrusage
 Updated
Sat, 12 Aug 2000
phpversion 
Next page


phpinfo

(PHP3 , PHP4 )

phpinfo -- Rengeteg PHP információt ad vissza.

Leírás

int phpinfo (void)

Rengeteg hasznos információt ad vissza a PHP aktuális állapotáról. Ez magában foglalja a PHP konfigurációs beállításait, a kiterjesztéseket, a PHP verziószámát, szerver és környezeti információkat (ha a PHP szerver modulként működik), a PHP környezeti információit, operációs rendszer verziószámot, elérési utakat, php3.ini (php.ini php4 esetén) beállításokat, helyi konfigurációs beállításokat, HTTP fejléceket, és a GNU Public Licence-et.

Lásd még: phpversion().


User Contributed Notes: phpinfo


rayh@xaos.com
30-Nov-1999 11:01
i'd like to write the output of phpinfo() to a file in a situation where i need to see the environment vars from a script that returns no document; in this case a script handling a PUT request. as this function returns an int, fwrite(phpinfo()) writes '1' to the file. by itself, the function writes to the return document.


tom@lambert.net
04-Aug-2000 09:44
Does anyone know where phpinfo gets its info regarding the system - that is the info that comes right at the top after the credits where is says
System: Linux nodename.domain.superdomain kernel_version
The reason I ask is that mine keeps giving an incorrect response. It gives a name that no longer applies to the system. When it gives host, domain and all that down in the lower sections, that is all correct, but the upper one doesn't change. Has anyone run into this?

Cheers
Tom



clunis@umich.edu
05-Aug-2000 03:13
"System: OS nodename.domain.superdomain kernel_version"

that looks like the output of uname -a to me. A quick scan through info.c shows that this is, in fact, uname output and it is hardcoded at compile time as PHP_UNAME. reconfigure and remake for the simplest way to fix this.



 About Notes


Previous page
 getrusage
 Updated
Sat, 12 Aug 2000
phpversion 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.