PHP User and Group
|
| User ID posix_geteuid() |
33 |
| User Name posix_getpwuid()['name'] |
www-data |
| Group ID posix_getgid() |
33 |
| Group Name posix_getgrgid() |
www-data |
| Home directory |
/var/www |
| $_SERVER['REMOTE_ADDR'] most reliable client IP |
216.73.217.176 |
Host and Path Info
|
| Protocol |
https |
| $_SERVER['HTTP_HOST'] from client |
dev1.dharmaguide.org |
| $_SERVER['SERVER_NAME'] from client |
dev1.dharmaguide.org |
| $_SERVER['SERVER_ADDR'] from client |
172.26.13.147 |
| gethostname() |
ip-172-26-13-147 |
| gethostbyname($host) |
172.26.13.147 |
| $_SERVER['REQUEST_URI'] |
/__index__.php |
| $_SERVER['REDIRECT_URL'] |
|
| $_SERVER['PHP_SELF'] |
/__index__.php |
| $_SERVER['SCRIPT_NAME'] |
/__index__.php |
| $_SERVER['SCRIPT_FILENAME']
This is the full script filename without resolving any symbolic links.
|
/srv/dev/dev1.dharmaguide.org/__index__.php |
| realpath( $_SERVER['SCRIPT_FILENAME'])
This is the full script filename after resolving all symbolic links.
|
/srv/dev/dev1.dharmaguide.org/__index__.php |
| __FILE__
This is the full script filename after resolving all symbolic links.
|
/srv/dev/dev1.dharmaguide.org/__index__.php |
| dirname( __FILE__ ) |
/srv/dev/dev1.dharmaguide.org |
| getcwd()
This is current working directory associated with the current script. Note that if the running script is a symbolic link to another folder, the script's parent directory will not match the current working directory!
|
/srv/dev/dev1.dharmaguide.org |
| __DIR__ |
/srv/dev/dev1.dharmaguide.org |
| $_SERVER['DOCUMENT_ROOT'] |
/srv/dev/dev1.dharmaguide.org |
| $_SERVER['PATH_INFO'] |
|
| $_SERVER['ORIG_PATH_INFO'] |
|
| $_SERVER['QUERY_STRING'] |
|
| $_SERVER['SERVER_PROTOCOL'] |
HTTP/1.1 |
| $_SERVER['REQUEST_METHOD'] |
GET |
| $_SERVER['NBDevSite'] |
|
| getenv('NBDevSite') |
|
| apache_getenv('NBDevSite') |
|
| Full URL |
https://dev1.dharmaguide.org/__index__.php |
| phpversion() |
7.4.33 |
| Apache modules |
Array
(
[0] => core
[1] => mod_so
[2] => mod_watchdog
[3] => http_core
[4] => mod_log_config
[5] => mod_logio
[6] => mod_version
[7] => mod_unixd
[8] => mod_access_compat
[9] => mod_alias
[10] => mod_auth_basic
[11] => mod_authn_core
[12] => mod_authn_file
[13] => mod_authz_core
[14] => mod_authz_host
[15] => mod_authz_user
[16] => mod_autoindex
[17] => mod_deflate
[18] => mod_dir
[19] => mod_env
[20] => mod_evasive20
[21] => mod_filter
[22] => mod_headers
[23] => mod_mime
[24] => prefork
[25] => mod_negotiation
[26] => mod_php7
[27] => mod_reqtimeout
[28] => mod_rewrite
[29] => mod_setenvif
[30] => mod_socache_shmcb
[31] => mod_ssl
[32] => mod_status
)
|
| All $_SERVER[] variables |
Array
(
[HTTPS] => on
[SSL_TLS_SNI] => dev1.dharmaguide.org
[HTTP_ACCEPT] => */*
[HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
[HTTP_ACCEPT_ENCODING] => gzip, br, zstd, deflate
[HTTP_HOST] => dev1.dharmaguide.org
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
[SERVER_SIGNATURE] => Apache/2.4.62 (Ubuntu) Server at dev1.dharmaguide.org Port 443
[SERVER_SOFTWARE] => Apache/2.4.62 (Ubuntu)
[SERVER_NAME] => dev1.dharmaguide.org
[SERVER_ADDR] => 172.26.13.147
[SERVER_PORT] => 443
[REMOTE_ADDR] => 216.73.217.176
[DOCUMENT_ROOT] => /srv/dev/dev1.dharmaguide.org
[REQUEST_SCHEME] => https
[CONTEXT_PREFIX] =>
[CONTEXT_DOCUMENT_ROOT] => /srv/dev/dev1.dharmaguide.org
[SERVER_ADMIN] => itadmin@nalandabodhi.org
[SCRIPT_FILENAME] => /srv/dev/dev1.dharmaguide.org/__index__.php
[REMOTE_PORT] => 42758
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => /__index__.php
[SCRIPT_NAME] => /__index__.php
[PHP_SELF] => /__index__.php
[REQUEST_TIME_FLOAT] => 1778774041.8538
[REQUEST_TIME] => 1778774041
)
|