Para más información visita phpinfo2array: Convierte la salida de phpinfo() en una array.
Array ( [PHP Configuration] => Array ( [PHP Version] => 4.4.9 [PHP Egg] => PHPE9568F34-D428-11d2-A769-00AA001ACF42 [System] => Windows NT PC-CUARTO 5.1 build 2600 [Build Date] => Aug 7 2008 15:03:48 [Server API] => Apache 2.0 Handler [Virtual Directory Support] => enabled [Configuration File (php.ini) Path] => D:\mowes_portable\php4\php.ini [PHP API] => 20020918 [PHP Extension] => 20020429 [Zend Extension] => 20050606 [Debug Build] => no [Zend Memory Manager] => enabled [Thread Safety] => enabled [Registered PHP Streams] => php, http, ftp, compress.zlib [Zend Engine] => v1.3.0 [Zend Egg] => PHPE9568F35-D428-11d2-A769-00AA001ACF42 [PHP Credits Egg] => PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000 ) [PHP Core] => Array ( [allow_call_time_pass_reference] => Off [allow_url_fopen] => On [always_populate_raw_post_data] => Off [arg_separator.input] => & [arg_separator.output] => & [asp_tags] => Off [auto_append_file] => no value [auto_prepend_file] => no value [browscap] => no value [default_charset] => no value [default_mimetype] => text/html [define_syslog_variables] => Off [disable_classes] => no value [disable_functions] => no value [display_errors] => On [display_startup_errors] => Off [doc_root] => no value [docref_ext] => no value [docref_root] => no value [enable_dl] => On [error_append_string] => no value [error_log] => no value [error_prepend_string] => no value [error_reporting] => 2039 [expose_php] => On [extension_dir] => D:\mowes_portable\php4\extensions\ [file_uploads] => On [gpc_order] => GPC [highlight.bg] => #FFFFFF [highlight.comment] => #FF9900 [highlight.default] => #0000BB [highlight.html] => #000000 [highlight.keyword] => #007700 [highlight.string] => #DD0000 [html_errors] => On [ignore_repeated_errors] => Off [ignore_repeated_source] => Off [ignore_user_abort] => Off [implicit_flush] => Off [include_path] => .;c:\php4\pear [log_errors] => On [log_errors_max_len] => 1024 [magic_quotes_gpc] => Off [magic_quotes_runtime] => Off [magic_quotes_sybase] => Off [max_execution_time] => 600 [max_input_nesting_level] => 500 [max_input_time] => 600 [open_basedir] => no value [output_buffering] => 4096 [output_handler] => no value [post_max_size] => 32M [precision] => 14 [register_argc_argv] => Off [register_globals] => On [report_memleaks] => On [safe_mode] => Off [safe_mode_exec_dir] => no value [safe_mode_gid] => Off [safe_mode_include_dir] => no value [sendmail_from] => no value [sendmail_path] => no value [serialize_precision] => 100 [short_open_tag] => On [SMTP] => localhost [smtp_port] => 25 [sql.safe_mode] => Off [track_errors] => Off [unserialize_callback_func] => no value [upload_max_filesize] => 32M [upload_tmp_dir] => D:\mowes_portable\php4\temp\ [user_dir] => no value [variables_order] => GPCS [xmlrpc_error_number] => 0 [xmlrpc_errors] => Off [y2k_compliance] => On ) [apache2handler] => Array ( [Apache Version] => Apache/2.2.9 (Win32) PHP/4.4.4 [Apache API Version] => 20051115 [Server Administrator] => admin@localhost [Hostname:Port] => localhost:80 [Max Requests] => Per Child: 0 - Keep Alive: on - Max Per Connection: 100 [Timeouts] => Connection: 300 - Keep-Alive: 0 [Virtual Server] => No [Server Root] => D:/mowes_portable/apache2 [Loaded Modules] => core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_imagemap mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_rewrite mod_setenvif mod_userdir sapi_apache2 [engine] => 1 [last_modified] => 0 [xbithack] => 0 ) [Apache Environment] => Array ( [HTTP_HOST] => localhost [HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 [HTTP_ACCEPT_LANGUAGE] => es-es,es;q=0.8,en-us;q=0.5,en;q=0.3 [HTTP_ACCEPT_ENCODING] => gzip,deflate [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7 [HTTP_KEEP_ALIVE] => 300 [HTTP_CONNECTION] => keep-alive [PATH] => C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\QuickTime\QTSystem\;C:\Archivos de programa\Archivos comunes\Adobe\AGL [SystemRoot] => C:\WINDOWS [COMSPEC] => C:\WINDOWS\system32\cmd.exe [PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH [WINDIR] => C:\WINDOWS [SERVER_SIGNATURE] => Apache/2.2.9 (Win32) PHP/4.4.4 Server at localhost Port 80 [SERVER_SOFTWARE] => Apache/2.2.9 (Win32) PHP/4.4.4 [SERVER_NAME] => localhost [SERVER_ADDR] => 127.0.0.1 [SERVER_PORT] => 80 [REMOTE_ADDR] => 127.0.0.1 [DOCUMENT_ROOT] => D:/mowes_portable/www [SERVER_ADMIN] => admin@localhost [SCRIPT_FILENAME] => D:/mowes_portable/www/a.php [REMOTE_PORT] => 3355 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => GET [QUERY_STRING] => no value [REQUEST_URI] => /a.php [SCRIPT_NAME] => /a.php ) [HTTP Headers Information] => Array ( [HTTP Request] => GET /a.php HTTP/1.1 [Host] => localhost [User-Agent] => Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 [Accept] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 [Accept-Language] => es-es,es;q=0.8,en-us;q=0.5,en;q=0.3 [Accept-Encoding] => gzip,deflate [Accept-Charset] => ISO-8859-1,utf-8;q=0.7,*;q=0.7 [Keep-Alive] => 300 [Connection] => keep-alive [X-Powered-By] => PHP/4.4.9 ) [bcmath] => Array ( [BCMath support] => enabled ) [calendar] => Array ( [Calendar support] => enabled ) [com] => Array ( [com.allow_dcom] => Off [com.autoregister_casesensitive] => On [com.autoregister_typelib] => Off [com.autoregister_verbose] => Off [com.typelib_file] => no value ) [ctype] => Array ( [ctype functions] => enabled ) [ftp] => Array ( [FTP support] => enabled ) [gd] => Array ( [GD Support] => enabled [GD Version] => bundled (2.0.28 compatible) [FreeType Support] => enabled [FreeType Linkage] => with freetype [GIF Read Support] => enabled [GIF Create Support] => enabled [JPG Support] => enabled [PNG Support] => enabled [WBMP Support] => enabled [XBM Support] => enabled ) [mbstring] => Array ( [Multibyte Support] => enabled [Japanese support] => enabled [Simplified chinese support] => enabled [Traditional chinese support] => enabled [Korean support] => enabled [Russian support] => enabled [Multibyte (japanese) regex support] => enabled [mbstring.detect_order] => no value [mbstring.encoding_translation] => Off [mbstring.func_overload] => 0 [mbstring.http_input] => pass [mbstring.http_output] => pass [mbstring.internal_encoding] => no value [mbstring.language] => neutral [mbstring.substitute_character] => no value ) [mysql] => Array ( [Active Persistent Links] => 0 [Active Links] => 0 [Client API version] => 3.23.49 [mysql.allow_persistent] => On [mysql.connect_timeout] => 60 [mysql.default_host] => no value [mysql.default_password] => no value [mysql.default_port] => no value [mysql.default_socket] => no value [mysql.default_user] => no value [mysql.max_links] => Unlimited [mysql.max_persistent] => Unlimited [mysql.trace_mode] => Off ) [odbc] => Array ( [Active Persistent Links] => 0 [Active Links] => 0 [ODBC library] => Win32 [odbc.allow_persistent] => On [odbc.check_persistent] => On [odbc.default_db] => no value [odbc.default_pw] => no value [odbc.default_user] => no value [odbc.defaultbinmode] => return as is [odbc.defaultlrl] => return up to 4096 bytes [odbc.max_links] => Unlimited [odbc.max_persistent] => Unlimited ) [overload] => Array ( [User-Space Object Overloading Support] => enabled ) [pcre] => Array ( [PCRE (Perl Compatible Regular Expressions) Support] => enabled [PCRE Library Version] => 7.7 2008-05-07 ) [session] => Array ( [Session Support] => enabled [Registered save handlers] => files user [session.auto_start] => Off [session.bug_compat_42] => Off [session.bug_compat_warn] => On [session.cache_expire] => 180 [session.cache_limiter] => nocache [session.cookie_domain] => no value [session.cookie_lifetime] => 0 [session.cookie_path] => / [session.cookie_secure] => Off [session.entropy_file] => no value [session.entropy_length] => 0 [session.gc_divisor] => 1000 [session.gc_maxlifetime] => 1440 [session.gc_probability] => 1 [session.name] => PHPSESSID [session.referer_check] => no value [session.save_handler] => files [session.save_path] => D:\mowes_portable\php4\temp\ [session.serialize_handler] => php [session.use_cookies] => On [session.use_only_cookies] => Off [session.use_trans_sid] => Off ) [standard] => Array ( [Regex Library] => Bundled library enabled [Dynamic Library Support] => enabled [Internal Sendmail Support for Windows] => enabled [assert.active] => 1 [assert.bail] => 0 [assert.callback] => no value [assert.quiet_eval] => 0 [assert.warning] => 1 [auto_detect_line_endings] => 0 [default_socket_timeout] => 60 [safe_mode_allowed_env_vars] => PHP_ [safe_mode_protected_env_vars] => LD_LIBRARY_PATH [url_rewriter.tags] => a=href,area=href,frame=src,input=src,form=fakeentry [user_agent] => no value ) [tokenizer] => Array ( [Tokenizer Support] => enabled ) [wddx] => Array ( [WDDX Session Serializer] => enabled ) [xml] => Array ( [XML Support] => active [XML Namespace Support] => active [EXPAT Version] => 1.95.6 ) [zip] => Array ( [Zip support] => enabled ) [zlib] => Array ( [ZLib Support] => enabled [Compiled Version] => 1.2.3 [Linked Version] => 1.2.3 [zlib.output_compression] => On [zlib.output_compression_level] => -1 [zlib.output_handler] => no value ) [Environment] => Array ( [ALLUSERSPROFILE] => C:\Documents and Settings\All Users [APPDATA] => C:\Documents and Settings\Bezerik\Datos de programa [CLASSPATH] => .;C:\Archivos de programa\QuickTime\QTSystem\QTJava.zip [CLIENTNAME] => Console [CommonProgramFiles] => C:\Archivos de programa\Archivos comunes [COMPUTERNAME] => PC-CUARTO [ComSpec] => C:\WINDOWS\system32\cmd.exe [FP_NO_HOST_CHECK] => NO [HOMEDRIVE] => C: [HOMEPATH] => \Documents and Settings\Bezerik [LOGONSERVER] => \\PC-CUARTO [NUMBER_OF_PROCESSORS] => 1 [OS] => Windows_NT [Path] => C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\QuickTime\QTSystem\;C:\Archivos de programa\Archivos comunes\Adobe\AGL [PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH [PROCESSOR_ARCHITECTURE] => x86 [PROCESSOR_IDENTIFIER] => x86 Family 15 Model 31 Stepping 0, AuthenticAMD [PROCESSOR_LEVEL] => 15 [PROCESSOR_REVISION] => 1f00 [ProgramFiles] => C:\Archivos de programa [QTJAVA] => C:\Archivos de programa\QuickTime\QTSystem\QTJava.zip [SESSIONNAME] => Console [SystemDrive] => C: [SystemRoot] => C:\WINDOWS [TEMP] => C:\DOCUME~1\Bezerik\CONFIG~1\Temp [TMP] => C:\DOCUME~1\Bezerik\CONFIG~1\Temp [tvdumpflags] => 8 [USERDOMAIN] => PC-CUARTO [USERNAME] => Bezerik [USERPROFILE] => C:\Documents and Settings\Bezerik [windir] => C:\WINDOWS [AP_PARENT_PID] => 1648 ) [PHP Variables] => Array ( [PHP_SELF] => /a.php [_SERVER["HTTP_HOST"]] => localhost [_SERVER["HTTP_USER_AGENT"]] => Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 [_SERVER["HTTP_ACCEPT"]] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 [_SERVER["HTTP_ACCEPT_LANGUAGE"]] => es-es,es;q=0.8,en-us;q=0.5,en;q=0.3 [_SERVER["HTTP_ACCEPT_ENCODING"]] => gzip,deflate [_SERVER["HTTP_ACCEPT_CHARSET"]] => ISO-8859-1,utf-8;q=0.7,*;q=0.7 [_SERVER["HTTP_KEEP_ALIVE"]] => 300 [_SERVER["HTTP_CONNECTION"]] => keep-alive [_SERVER["PATH"]] => C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\QuickTime\QTSystem\;C:\Archivos de programa\Archivos comunes\Adobe\AGL [_SERVER["SystemRoot"]] => C:\WINDOWS [_SERVER["COMSPEC"]] => C:\WINDOWS\system32\cmd.exe [_SERVER["PATHEXT"]] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH [_SERVER["WINDIR"]] => C:\WINDOWS [_SERVER["SERVER_SIGNATURE"]] => Apache/2.2.9 (Win32) PHP/4.4.4 Server at localhost Port 80 [_SERVER["SERVER_SOFTWARE"]] => Apache/2.2.9 (Win32) PHP/4.4.4 [_SERVER["SERVER_NAME"]] => localhost [_SERVER["SERVER_ADDR"]] => 127.0.0.1 [_SERVER["SERVER_PORT"]] => 80 [_SERVER["REMOTE_ADDR"]] => 127.0.0.1 [_SERVER["DOCUMENT_ROOT"]] => D:/mowes_portable/www [_SERVER["SERVER_ADMIN"]] => admin@localhost [_SERVER["SCRIPT_FILENAME"]] => D:/mowes_portable/www/a.php [_SERVER["REMOTE_PORT"]] => 3355 [_SERVER["GATEWAY_INTERFACE"]] => CGI/1.1 [_SERVER["SERVER_PROTOCOL"]] => HTTP/1.1 [_SERVER["REQUEST_METHOD"]] => GET [_SERVER["QUERY_STRING"]] => no value [_SERVER["REQUEST_URI"]] => /a.php [_SERVER["SCRIPT_NAME"]] => /a.php [_SERVER["PHP_SELF"]] => /a.php [_SERVER["PATH_TRANSLATED"]] => D:/mowes_portable/www/a.php ) )