Here are the outputs from the phpinfo() (called directly from ./u.php and called from /var/www/html/test.php which executes u.php). Note that the section on mysql is missing in the latter.
<--- from u.php --- > phpinfo() PHP Version => 4.3.0 System => Linux localhost.localdomain 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 Build Date => Jan 15 2003 22:25:35 Configure Command => './configure' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' '--disable-debug' '--with-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-gd' '--with-gdbm' '--with-gettext' '--with-jpeg-dir=/usr' '--with-mm' '--with-openssl' '--with-png' '--with-regex=system' '--with-ttf' '--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-debugger' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-yp' '--enable-wddx' '--with-ldap=shared' '--with-mysql=shared' '--with-apxs=/usr/sbin/apxs' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /etc/php.ini PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 20021010 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, https, ftps, compress.bzip2, compress.zlib This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => Off => Off allow_url_fopen => On => On always_populate_raw_post_data => Off => Off arg_separator.input => & => & arg_separator.output => & => & 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 docref_ext => no value => no value docref_root => http://www.php.net/ => http://www.php.net/ enable_dl => On => On error_append_string => no value => no value error_log => /usr/local/bin/pima/reports/php_errors/interpreter_errors => /usr/local/bin/pima/reports/php_errors/interpreter_errors error_prepend_string => no value => no value error_reporting => 2047 => 2047 expose_php => On => On extension_dir => /root/php-4.3.0/php-4.3.0/modules => /root/php-4.3.0/php-4.3.0/modules file_uploads => On => On 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 => Off => On ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => Off include_path => .:/php/includes:/usr/share/pear:/usr/local/bin/pima/sysdata:/usr/local/bin/p ima/reports => .:/php/includes:/usr/share/pear:/usr/local/bin/pima/sysdata:/usr/local/bin/p ima/reports log_errors => On => On log_errors_max_len => 1024 => 1024 magic_quotes_gpc => Off => Off magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off max_execution_time => 0 => 30 max_input_time => 60 => 60 open_basedir => no value => no value output_buffering => no value => no value output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 register_argc_argv => On => Off register_globals => Off => Off report_memleaks => On => On safe_mode => Off => Off safe_mode_exec_dir => no value => no value safe_mode_gid => Off => Off safe_mode_include_dir => no value => no value sendmail_from => [EMAIL PROTECTED] => [EMAIL PROTECTED] sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i short_open_tag => On => On SMTP => localhost => localhost smtp_port => 25 => 25 sql.safe_mode => Off => Off track_errors => On => On unserialize_callback_func => no value => no value upload_max_filesize => 2M => 2M upload_tmp_dir => no value => no value user_dir => no value => no value variables_order => GPCS => GPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On bcmath BCMath support => enabled bz2 BZip2 Support => Enabled BZip2 Version => 1.0.1, 23-June-2000 ctype ctype functions => enabled dba DBA support => enabled Supported handlers => gdbm ftp FTP support => enabled gd GD Support => enabled GD Version => bundled (2.0 compatible) FreeType Support => enabled FreeType Linkage => with freetype GIF Read Support => enabled JPG Support => enabled PNG Support => enabled WBMP Support => enabled gettext GetText Support => enabled mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 3.23.49 MYSQL_MODULE_TYPE => builtin MYSQL_SOCKET => /var/lib/mysql/mysql.sock MYSQL_INCLUDE => MYSQL_LIBS => Directive => Local Value => Master Value mysql.allow_persistent => On => On mysql.connect_timeout => -1 => -1 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 mysql.trace_mode => Off => Off openssl OpenSSL support => enabled OpenSSL Version => OpenSSL 0.9.6b [engine] 9 Jul 2001 overload User-Space Object Overloading Support => enabled pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 3.92 11-Sep-2002 posix Revision => $Revision: 1.51 $ session Session Support => enabled Registered save handlers => files user mm Directive => Local Value => Master Value session.auto_start => Off => Off session.bug_compat_42 => Off => Off session.bug_compat_warn => On => On 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.cookie_secure => Off => Off session.entropy_file => no value => no value session.entropy_length => 0 => 0 session.gc_dividend => 1000 => 1000 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 session.use_only_cookies => Off => Off session.use_trans_sid => Off => Off sockets Sockets Support => enabled standard Regex Library => Bundled 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 auto_detect_line_endings => 0 => 0 default_socket_timeout => 60 => 60 safe_mode_allowed_env_vars => PHP_ => PHP_ safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH url_rewriter.tags => a=href,area=href,frame=src,input=src,form=fakeentry => a=href,area=href,frame=src,input=src,form=fakeentry user_agent => no value => no value tokenizer Tokenizer Support => enabled wddx WDDX Support => enabled WDDX Session Serializer => enabled xml XML Support => active XML Namespace Support => active EXPAT Version => expat_1.95.1 yp YP Support => enabled zlib ZLib Support => enabled Compiled Version => 1.1.3 Linked Version => 1.1.3 Directive => Local Value => Master Value zlib.output_compression => Off => Off zlib.output_compression_level => -1 => -1 zlib.output_handler => no value => no value Additional Modules Module Name sysvsem sysvshm Environment Variable => Value PWD => /usr/local/bin/pima/night/other XAUTHORITY => /root/.Xauthority HOSTNAME => localhost.localdomain QTDIR => /usr/lib/qt-2.3.1 LESSOPEN => |/usr/bin/lesspipe.sh %s GDMSESSION => KDE KDEDIR => /usr USER => root LS_COLORS => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=0 1;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm =01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;3 1:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=0 1;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35: *.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: MACHTYPE => i386-redhat-linux-gnu KDE_MULTIHEAD => false MAIL => /var/spool/mail/root INPUTRC => /etc/inputrc OLDPWD => /usr/local/bin/pima BASH_ENV => /root/.bashrc GTK_RC_FILES => /etc/gtk/gtkrc:/root/.gtkrc XMODIFIERS => @im=none LANG => en_US COLORTERM => DISPLAY => :0 LOGNAME => root SHLVL => 3 GDM_LANG => en_US SESSION_MANAGER => local/localhost.localdomain:/tmp/.ICE-unix/9254 USERNAME => root SHELL => /bin/bash HOSTTYPE => i386 QT_XFT => 1 OSTYPE => linux-gnu HISTSIZE => 1000 HOME => /root TERM => xterm SSH_ASKPASS => /usr/libexec/openssh/gnome-ssh-askpass PATH => /usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/u sr/bin:/usr/X11R6/bin:/root/bin:/root/bin _ => ./u.php PHP Variables Variable => Value _SERVER["PWD"] => /usr/local/bin/pima/night/other _SERVER["XAUTHORITY"] => /root/.Xauthority _SERVER["HOSTNAME"] => localhost.localdomain _SERVER["QTDIR"] => /usr/lib/qt-2.3.1 _SERVER["LESSOPEN"] => |/usr/bin/lesspipe.sh %s _SERVER["GDMSESSION"] => KDE _SERVER["KDEDIR"] => /usr _SERVER["USER"] => root _SERVER["LS_COLORS"] => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=0 1;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm =01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;3 1:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=0 1;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35: *.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: _SERVER["MACHTYPE"] => i386-redhat-linux-gnu _SERVER["KDE_MULTIHEAD"] => false _SERVER["MAIL"] => /var/spool/mail/root _SERVER["INPUTRC"] => /etc/inputrc _SERVER["OLDPWD"] => /usr/local/bin/pima _SERVER["BASH_ENV"] => /root/.bashrc _SERVER["GTK_RC_FILES"] => /etc/gtk/gtkrc:/root/.gtkrc _SERVER["XMODIFIERS"] => @im=none _SERVER["LANG"] => en_US _SERVER["COLORTERM"] => _SERVER["DISPLAY"] => :0 _SERVER["LOGNAME"] => root _SERVER["SHLVL"] => 3 _SERVER["GDM_LANG"] => en_US _SERVER["SESSION_MANAGER"] => local/localhost.localdomain:/tmp/.ICE-unix/9254 _SERVER["USERNAME"] => root _SERVER["SHELL"] => /bin/bash _SERVER["HOSTTYPE"] => i386 _SERVER["QT_XFT"] => 1 _SERVER["OSTYPE"] => linux-gnu _SERVER["HISTSIZE"] => 1000 _SERVER["HOME"] => /root _SERVER["TERM"] => xterm _SERVER["SSH_ASKPASS"] => /usr/libexec/openssh/gnome-ssh-askpass _SERVER["PATH"] => /usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/u sr/bin:/usr/X11R6/bin:/root/bin:/root/bin _SERVER["_"] => ./u.php _SERVER["PHP_SELF"] => ./u.php _SERVER["SCRIPT_NAME"] => ./u.php _SERVER["SCRIPT_FILENAME"] => ./u.php _SERVER["PATH_TRANSLATED"] => ./u.php _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( [0] => ./u.php ) _SERVER["argc"] => 1 PHP License 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 [EMAIL PROTECTED] <--- from test.php ---> phpinfo() PHP Version => 4.3.0 System => Linux localhost.localdomain 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 Build Date => Jan 15 2003 22:25:35 Configure Command => './configure' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' '--disable-debug' '--with-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-gd' '--with-gdbm' '--with-gettext' '--with-jpeg-dir=/usr' '--with-mm' '--with-openssl' '--with-png' '--with-regex=system' '--with-ttf' '--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-debugger' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-yp' '--enable-wddx' '--with-ldap=shared' '--with-mysql=shared' '--with-apxs=/usr/sbin/apxs' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /etc/php.ini PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 20021010 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, https, ftps, compress.bzip2, compress.zlib This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => Off => Off allow_url_fopen => On => On always_populate_raw_post_data => Off => Off arg_separator.input => & => & arg_separator.output => & => & 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 docref_ext => no value => no value docref_root => http://www.php.net/ => http://www.php.net/ enable_dl => On => On error_append_string => no value => no value error_log => /usr/local/bin/pima/reports/php_errors/interpreter_errors => /usr/local/bin/pima/reports/php_errors/interpreter_errors error_prepend_string => no value => no value error_reporting => 2047 => 2047 expose_php => On => On extension_dir => /root/php-4.3.0/php-4.3.0/modules => /root/php-4.3.0/php-4.3.0/modules file_uploads => On => On 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 => Off => On ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => Off include_path => .:/php/includes:/usr/share/pear:/usr/local/bin/pima/sysdata:/usr/local/bin/p ima/reports => .:/php/includes:/usr/share/pear:/usr/local/bin/pima/sysdata:/usr/local/bin/p ima/reports log_errors => On => On log_errors_max_len => 1024 => 1024 magic_quotes_gpc => Off => Off magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off max_execution_time => 0 => 30 max_input_time => 60 => 60 open_basedir => no value => no value output_buffering => no value => no value output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 register_argc_argv => On => Off register_globals => Off => Off report_memleaks => On => On safe_mode => Off => Off safe_mode_exec_dir => no value => no value safe_mode_gid => Off => Off safe_mode_include_dir => no value => no value sendmail_from => [EMAIL PROTECTED] => [EMAIL PROTECTED] sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i short_open_tag => On => On SMTP => localhost => localhost smtp_port => 25 => 25 sql.safe_mode => Off => Off track_errors => On => On unserialize_callback_func => no value => no value upload_max_filesize => 2M => 2M upload_tmp_dir => no value => no value user_dir => no value => no value variables_order => GPCS => GPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On bcmath BCMath support => enabled bz2 BZip2 Support => Enabled BZip2 Version => 1.0.1, 23-June-2000 ctype ctype functions => enabled dba DBA support => enabled Supported handlers => gdbm ftp FTP support => enabled gd GD Support => enabled GD Version => bundled (2.0 compatible) FreeType Support => enabled FreeType Linkage => with freetype GIF Read Support => enabled JPG Support => enabled PNG Support => enabled WBMP Support => enabled gettext GetText Support => enabled openssl OpenSSL support => enabled OpenSSL Version => OpenSSL 0.9.6b [engine] 9 Jul 2001 overload User-Space Object Overloading Support => enabled pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 3.92 11-Sep-2002 posix Revision => $Revision: 1.51 $ session Session Support => enabled Registered save handlers => files user mm Directive => Local Value => Master Value session.auto_start => Off => Off session.bug_compat_42 => Off => Off session.bug_compat_warn => On => On 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.cookie_secure => Off => Off session.entropy_file => no value => no value session.entropy_length => 0 => 0 session.gc_dividend => 1000 => 1000 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 session.use_only_cookies => Off => Off session.use_trans_sid => Off => Off sockets Sockets Support => enabled standard Regex Library => Bundled 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 auto_detect_line_endings => 0 => 0 default_socket_timeout => 60 => 60 safe_mode_allowed_env_vars => PHP_ => PHP_ safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH url_rewriter.tags => a=href,area=href,frame=src,input=src,form=fakeentry => a=href,area=href,frame=src,input=src,form=fakeentry user_agent => no value => no value tokenizer Tokenizer Support => enabled wddx WDDX Support => enabled WDDX Session Serializer => enabled xml XML Support => active XML Namespace Support => active EXPAT Version => expat_1.95.1 yp YP Support => enabled zlib ZLib Support => enabled Compiled Version => 1.1.3 Linked Version => 1.1.3 Directive => Local Value => Master Value zlib.output_compression => Off => Off zlib.output_compression_level => -1 => -1 zlib.output_handler => no value => no value Additional Modules Module Name sysvsem sysvshm Environment Variable => Value PWD => /var/www/html XAUTHORITY => /root/.Xauthority HOSTNAME => localhost.localdomain QTDIR => /usr/lib/qt-2.3.1 LESSOPEN => |/usr/bin/lesspipe.sh %s GDMSESSION => KDE KDEDIR => /usr USER => root LS_COLORS => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=0 1;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm =01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;3 1:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=0 1;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35: *.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: MACHTYPE => i386-redhat-linux-gnu KDE_MULTIHEAD => false MAIL => /var/spool/mail/root INPUTRC => /etc/inputrc BASH_ENV => /root/.bashrc GTK_RC_FILES => /etc/gtk/gtkrc:/root/.gtkrc XMODIFIERS => @im=none LANG => en_US COLORTERM => DISPLAY => :0 LOGNAME => root SHLVL => 6 _ => /usr/local/bin/pima/night/other/u.php GDM_LANG => en_US SESSION_MANAGER => local/localhost.localdomain:/tmp/.ICE-unix/9254 USERNAME => root SHELL => /bin/bash HOSTTYPE => i386 QT_XFT => 1 OSTYPE => linux-gnu HISTSIZE => 1000 HOME => /root TERM => xterm SSH_ASKPASS => /usr/libexec/openssh/gnome-ssh-askpass PATH => /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin PHP Variables Variable => Value _SERVER["PWD"] => /var/www/html _SERVER["XAUTHORITY"] => /root/.Xauthority _SERVER["HOSTNAME"] => localhost.localdomain _SERVER["QTDIR"] => /usr/lib/qt-2.3.1 _SERVER["LESSOPEN"] => |/usr/bin/lesspipe.sh %s _SERVER["GDMSESSION"] => KDE _SERVER["KDEDIR"] => /usr _SERVER["USER"] => root _SERVER["LS_COLORS"] => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=0 1;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm =01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;3 1:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=0 1;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35: *.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: _SERVER["MACHTYPE"] => i386-redhat-linux-gnu _SERVER["KDE_MULTIHEAD"] => false _SERVER["MAIL"] => /var/spool/mail/root _SERVER["INPUTRC"] => /etc/inputrc _SERVER["BASH_ENV"] => /root/.bashrc _SERVER["GTK_RC_FILES"] => /etc/gtk/gtkrc:/root/.gtkrc _SERVER["XMODIFIERS"] => @im=none _SERVER["LANG"] => en_US _SERVER["COLORTERM"] => _SERVER["DISPLAY"] => :0 _SERVER["LOGNAME"] => root _SERVER["SHLVL"] => 6 _SERVER["_"] => /usr/local/bin/pima/night/other/u.php _SERVER["GDM_LANG"] => en_US _SERVER["SESSION_MANAGER"] => local/localhost.localdomain:/tmp/.ICE-unix/9254 _SERVER["USERNAME"] => root _SERVER["SHELL"] => /bin/bash _SERVER["HOSTTYPE"] => i386 _SERVER["QT_XFT"] => 1 _SERVER["OSTYPE"] => linux-gnu _SERVER["HISTSIZE"] => 1000 _SERVER["HOME"] => /root _SERVER["TERM"] => xterm _SERVER["SSH_ASKPASS"] => /usr/libexec/openssh/gnome-ssh-askpass _SERVER["PATH"] => /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin _SERVER["PHP_SELF"] => /usr/local/bin/pima/night/other/u.php _SERVER["SCRIPT_NAME"] => /usr/local/bin/pima/night/other/u.php _SERVER["SCRIPT_FILENAME"] => /usr/local/bin/pima/night/other/u.php _SERVER["PATH_TRANSLATED"] => /usr/local/bin/pima/night/other/u.php _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( [0] => /usr/local/bin/pima/night/other/u.php ) _SERVER["argc"] => 1 PHP License 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 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php