<html> <head> <title>Example</title> </head> <body> <?php phpinfo(); ?> </body> </html> |
Output:
PHP Version 4.0.3pl1 |
System | Linux mizar 2.4.19-evms1.1.0-freeswan1.96-usbdnet-acpi #3 Wed Sep 4 18:18:53 EDT 2002 i686 unknown |
Build Date | Sep 12 2002 |
Configure Command | '../configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs' '--with-regex=system' '--with-config-file-path=/etc/php4/apache' '--enable-calendar' '--with-db' '--without-dom' '--enable-filepro' '--enable-ftp' '--with-gettext' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--disable-debug' '--disable-static' '--with-gd=shared' '--with-imap=shared' '--with-ldap=shared,/usr' '--with-mm' '--with-mhash=shared' '--with-mysql=shared,/usr' '--with-regex=system' '--with-pcre-regex=/usr' '--with-pgsql=shared,/usr' '--with-snmp=shared' '--enable-sockets' '--with-ttf' '--enable-freetype-4bit-antialias-hack' '--with-t1lib' '--with-xml=shared,/usr' '--enable-yp' '--with-zlib' '--enable-ucd-snmp-hack' |
Server API | Apache |
Virtual Directory Support | disabled |
Configuration File (php.ini) Path | /etc/php4/apache |
ZEND_DEBUG | disabled |
Thread Safety | disabled |
Zend Engine v1.0.3, Copyright (c) 1998-2000 Zend Technologies |
Directive | Local Value | Master Value |
---|---|---|
allow_call_time_pass_reference | On | On |
arg_separator | & | & |
asp_tags | Off | Off |
auto_append_file | no value | no value |
auto_prepend_file | no value | no value |
browscap | no value | no value |
default_charset | no value | no value |
default_mimetype | text/html | text/html |
define_syslog_variables | Off | Off |
disable_functions | no value | no value |
display_errors | On | On |
display_startup_errors | Off | Off |
doc_root | no value | no value |
enable_dl | On | On |
error_append_string | Off | Off |
error_log | no value | no value |
error_prepend_string | Off | Off |
error_reporting | 2039 | 2039 |
expose_php | On | On |
extension_dir | /usr/lib/php4/apache | /usr/lib/php4/apache |
file_uploads | 1 | 1 |
gpc_order | GPC | GPC |
highlight.bg | #FFFFFF | #FFFFFF |
highlight.comment | #FF8000 | #FF8000 |
highlight.default | #0000BB | #0000BB |
highlight.html | #000000 | #000000 |
highlight.keyword | #007700 | #007700 |
highlight.string | #DD0000 | #DD0000 |
html_errors | On | On |
ignore_user_abort | Off | Off |
implicit_flush | Off | Off |
include_path | .:/usr/lib/php4 | .:/usr/lib/php4 |
log_errors | Off | Off |
magic_quotes_gpc | On | On |
magic_quotes_runtime | Off | Off |
magic_quotes_sybase | Off | Off |
max_execution_time | 30 | 30 |
open_basedir | no value | no value |
output_buffering | Off | Off |
post_max_size | 8M | 8M |
precision | 14 | 14 |
register_argc_argv | On | On |
register_globals | On | On |
safe_mode | Off | Off |
safe_mode_exec_dir | no value | no value |
sendmail_from | me@localhost.com | me@localhost.com |
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i |
short_open_tag | On | On |
SMTP | localhost | localhost |
sql.safe_mode | Off | Off |
track_errors | Off | Off |
upload_max_filesize | 2M | 2M |
upload_tmp_dir | no value | no value |
user_dir | no value | no value |
variables_order | EGPCS | EGPCS |
y2k_compliance | Off | Off |
GD Support | enabled |
GD Version | 1.6.2 or higher |
FreeType Support | enabled |
FreeType Linkage | with TTF library |
T1Lib Support | enabled |
PNG Support | enabled |
MySQL Support | enabled |
---|---|
Active Persistent Links | 0 |
Active Links | 0 |
Client API version | 3.22.30 |
MYSQL_INCLUDE | |
MYSQL_LFLAGS | |
MYSQL_LIBS |
Directive | Local Value | Master Value |
---|---|---|
mysql.allow_persistent | On | On |
mysql.default_host | no value | no value |
mysql.default_password | no value | no value |
mysql.default_port | no value | no value |
mysql.default_socket | no value | no value |
mysql.default_user | no value | no value |
mysql.max_links | Unlimited | Unlimited |
mysql.max_persistent | Unlimited | Unlimited |
XML Support | active |
IMAP Support | enabled |
IMAP c-Client Version | 4.1 |
ZLib Support | enabled |
Compiled Version | 1.1.3 |
Linked Version | 1.1.3 |
YP Support | enabled |
Regex Library | System library enabled |
Dynamic Library Support | enabled |
Path to sendmail | /usr/sbin/sendmail -t -i |
Directive | Local Value | Master Value |
---|---|---|
assert.active | 1 | 1 |
assert.bail | 0 | 0 |
assert.callback | no value | no value |
assert.quiet_eval | 0 | 0 |
assert.warning | 1 | 1 |
safe_mode_allowed_env_vars | PHP_ | PHP_ |
safe_mode_protected_env_vars | LD_LIBRARY_PATH | LD_LIBRARY_PATH |
session.use_trans_sid | 1 | 1 |
sockets support | enabled |
Session Support | enabled |
Directive | Local Value | Master Value |
---|---|---|
session.auto_start | Off | Off |
session.cache_expire | 180 | 180 |
session.cache_limiter | nocache | nocache |
session.cookie_domain | no value | no value |
session.cookie_lifetime | 0 | 0 |
session.cookie_path | / | / |
session.entropy_file | no value | no value |
session.entropy_length | 0 | 0 |
session.gc_maxlifetime | 1440 | 1440 |
session.gc_probability | 1 | 1 |
session.name | PHPSESSID | PHPSESSID |
session.referer_check | no value | no value |
session.save_handler | files | files |
session.save_path | /tmp | /tmp |
session.serialize_handler | php | php |
session.use_cookies | On | On |
Revision | $Revision: 1.26 $ |
PCRE (Perl Compatible Regular Expressions) Support | enabled |
PCRE Library Version | 2.08 31-Aug-1999 |
GNU GetText Support | enabled |
FTP support | enabled |
ndbm support enabled |
Calendar support | enabled |
APACHE_INCLUDE | |
APACHE_TARGET | |
Apache Version | Apache/1.3.9 |
Apache Release | 10309100 |
Apache API Version | 19990320 |
Hostname:Port | physics.clarku.edu:80 |
User/Group | www-data(33)/33 |
Max Requests | Per Child: 30 Keep Alive: on Max Per Connection: 100 |
Timeouts | Connection: 300 Keep-Alive: 15 |
Server Root | /etc/apache |
Loaded Modules | mod_ssl, mod_php4, mod_setenvif, mod_unique_id, mod_expires, mod_auth, mod_access, mod_alias, mod_userdir, mod_speling, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_negotiation, mod_mime, mod_rewrite, mod_log_config, mod_macro, mod_so, http_core |
Variable | Value |
---|---|
DOCUMENT_ROOT | /var/www/physics |
HTTP_ACCEPT | image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* |
HTTP_ACCEPT_CHARSET | iso-8859-1,*,utf-8 |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT_LANGUAGE | en |
HTTP_CONNECTION | Keep-Alive |
HTTP_EXTENSION | Security/Remote-Passphrase |
HTTP_HOST | physics.clarku.edu |
HTTP_REFERER | http://physics.clarku.edu/~jgould/2310/page4.php |
HTTP_USER_AGENT | Mozilla/4.5 [en]C-CCK-MCD {Sony} (Win98; U) |
PATH | /bin:/usr/bin:/sbin:/usr/sbin |
REMOTE_ADDR | 136.142.20.216 |
REMOTE_PORT | 1347 |
SCRIPT_FILENAME | /home/jgould/public_html/2310/page5.php |
SERVER_ADDR | 140.232.2.30 |
SERVER_ADMIN | gjohnson@physics.clarku.edu |
SERVER_NAME | physics.clarku.edu |
SERVER_PORT | 80 |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache/1.3.9 (Unix) Debian/GNU mod_ssl/2.4.10 OpenSSL/0.9.4 PHP/4.0.3pl1 |
UNIQUE_ID | PnqKBozoAgwAABLCSrQ |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.0 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | /~jgould/2310/page5.php |
SCRIPT_NAME | /~jgould/2310/page5.php |
HTTP Request Headers | |
---|---|
HTTP Request | GET /~jgould/2310/page5.php HTTP/1.0 |
Accept | image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* |
Accept-Charset | iso-8859-1,*,utf-8 |
Accept-Encoding | gzip |
Accept-Language | en |
Connection | Keep-Alive |
Extension | Security/Remote-Passphrase |
Host | physics.clarku.edu |
Referer | http://physics.clarku.edu/~jgould/2310/page4.php |
User-Agent | Mozilla/4.5 [en]C-CCK-MCD {Sony} (Win98; U) |
HTTP Response Headers | |
X-Powered-By | PHP/4.0.3pl1 |
Connection | close |
Content-Type | text/html |
sysvshm |
sysvsem |
filepro |
Session MM |
Variable | Value |
---|---|
PWD | /home/lcolonna |
HOSTNAME | planck |
ENV | /home/lcolonna/.bashrc |
USER | lcolonna |
MACHTYPE | i386-pc-linux-gnu |
/var/mail/lcolonna | |
LANG | C |
SSH_CLIENT | 140.232.2.110 4387 22 |
LOGNAME | lcolonna |
SHLVL | 4 |
SHELL | /bin/bash |
USERNAME | |
HOSTTYPE | i386 |
OSTYPE | linux-gnu |
HOME | /root |
TERM | cygwin |
PATH | /bin:/usr/bin:/sbin:/usr/sbin |
SSH_TTY | /dev/ttyp0 |
_ | /usr/sbin/apache |
Variable | Value |
---|---|
PHP_SELF | /~jgould/2310/page5.php |
HTTP_SERVER_VARS["DOCUMENT_ROOT"] | /var/www/physics |
HTTP_SERVER_VARS["HTTP_ACCEPT"] | image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* |
HTTP_SERVER_VARS["HTTP_ACCEPT_CHARSET"] | iso-8859-1,*,utf-8 |
HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"] | gzip |
HTTP_SERVER_VARS["HTTP_ACCEPT_LANGUAGE"] | en |
HTTP_SERVER_VARS["HTTP_CONNECTION"] | Keep-Alive |
HTTP_SERVER_VARS["HTTP_EXTENSION"] | Security/Remote-Passphrase |
HTTP_SERVER_VARS["HTTP_HOST"] | physics.clarku.edu |
HTTP_SERVER_VARS["HTTP_REFERER"] | http://physics.clarku.edu/~jgould/2310/page4.php |
HTTP_SERVER_VARS["HTTP_USER_AGENT"] | Mozilla/4.5 [en]C-CCK-MCD {Sony} (Win98; U) |
HTTP_SERVER_VARS["PATH"] | /bin:/usr/bin:/sbin:/usr/sbin |
HTTP_SERVER_VARS["REMOTE_ADDR"] | 136.142.20.216 |
HTTP_SERVER_VARS["REMOTE_PORT"] | 1347 |
HTTP_SERVER_VARS["SCRIPT_FILENAME"] | /home/jgould/public_html/2310/page5.php |
HTTP_SERVER_VARS["SERVER_ADDR"] | 140.232.2.30 |
HTTP_SERVER_VARS["SERVER_ADMIN"] | gjohnson@physics.clarku.edu |
HTTP_SERVER_VARS["SERVER_NAME"] | physics.clarku.edu |
HTTP_SERVER_VARS["SERVER_PORT"] | 80 |
HTTP_SERVER_VARS["SERVER_SIGNATURE"] | |
HTTP_SERVER_VARS["SERVER_SOFTWARE"] | Apache/1.3.9 (Unix) Debian/GNU mod_ssl/2.4.10 OpenSSL/0.9.4 PHP/4.0.3pl1 |
HTTP_SERVER_VARS["UNIQUE_ID"] | PnqKBozoAgwAABLCSrQ |
HTTP_SERVER_VARS["GATEWAY_INTERFACE"] | CGI/1.1 |
HTTP_SERVER_VARS["SERVER_PROTOCOL"] | HTTP/1.0 |
HTTP_SERVER_VARS["REQUEST_METHOD"] | GET |
HTTP_SERVER_VARS["QUERY_STRING"] | |
HTTP_SERVER_VARS["REQUEST_URI"] | /~jgould/2310/page5.php |
HTTP_SERVER_VARS["SCRIPT_NAME"] | /~jgould/2310/page5.php |
HTTP_SERVER_VARS["PATH_TRANSLATED"] | /home/jgould/public_html/2310/page5.php |
HTTP_SERVER_VARS["PHP_SELF"] | /~jgould/2310/page5.php |
HTTP_SERVER_VARS["argv"] | Array ( ) |
HTTP_SERVER_VARS["argc"] | 0 |
HTTP_ENV_VARS["PWD"] | /home/lcolonna |
HTTP_ENV_VARS["HOSTNAME"] | planck |
HTTP_ENV_VARS["ENV"] | /home/lcolonna/.bashrc |
HTTP_ENV_VARS["USER"] | lcolonna |
HTTP_ENV_VARS["MACHTYPE"] | i386-pc-linux-gnu |
HTTP_ENV_VARS["MAIL"] | /var/mail/lcolonna |
HTTP_ENV_VARS["LANG"] | C |
HTTP_ENV_VARS["SSH_CLIENT"] | 140.232.2.110 4387 22 |
HTTP_ENV_VARS["LOGNAME"] | lcolonna |
HTTP_ENV_VARS["SHLVL"] | 4 |
HTTP_ENV_VARS["SHELL"] | /bin/bash |
HTTP_ENV_VARS["USERNAME"] | |
HTTP_ENV_VARS["HOSTTYPE"] | i386 |
HTTP_ENV_VARS["OSTYPE"] | linux-gnu |
HTTP_ENV_VARS["HOME"] | /root |
HTTP_ENV_VARS["TERM"] | cygwin |
HTTP_ENV_VARS["PATH"] | /bin:/usr/bin:/sbin:/usr/sbin |
HTTP_ENV_VARS["SSH_TTY"] | /dev/ttyp0 |
HTTP_ENV_VARS["_"] | /usr/sbin/apache |
This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net. |