Two files are below, followed by phpinfo() output: $ cat test1.php SID=<?= SID ?> Test2 $ cat test2.php SID=<?= SID ?> Test2 phpinfo() is below: PHP Logo PHP Version 4.3.11 System FreeBSD www.fxpartners.com 4.11-RC1 FreeBSD 4.11-RC1 #0: Fri Dec 17 i386 Build Date Aug 24 2005 20:43:20 Configure Command './configure' '--with-apxs=/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/apache1/files/apxs' '--prefix=/usr/local/psa/apache' '--with-regex=php' '--with-config-file-path=/usr/local/psa/apache/conf' '--enable-sockets' '--enable-track-vars' '--with-mysql=/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/release/dist/usr/local/psa/mysql' '--with-pgsql=/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/release/dist/usr/local/psa/postgresql' '--with-iodbc=/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/lib/dist' '--with-imap=/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/lib/dist' '--with-imap-ssl' '--with-gd' '--with-jpeg-dir=/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/lib/dist' '--with-png-dir=/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/lib/dist' '--without-tiff' '--without-pdflib' '--with-gettext=/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/lib/dist' '--with-openssl=/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/release/openssl' '--with-zlib' '--disable-debug' '--enable-pear' '--with-mhash=/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/lib/dist' '--with-curl=/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/lib/dist' '--enable-ftp' '--enable-static' '--enable-mbstring' '--enable-mbregex' '--with-expat-dir=/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/lib/dist' '--with-iconv-dir=/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/lib/dist' '--with-xml' '--with-dom=/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/lib/dist' '--with-iconv=/usr/local' '--with-mcrypt=/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/lib/dist' '--enable-bcmath' Server API Apache Virtual Directory Support disabled Configuration File (php.ini) Path /usr/local/psa/apache/conf/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.zlib Zend logo This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with the ionCube PHP Loader v2.5, Copyright (c) 2002-2004, by ionCube Ltd. PHP Credits Configuration PHP Core Directive Local Value Master Value allow_call_time_pass_reference On On 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_classes no value no value 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 no value no value enable_dl On On error_append_string no value no value error_log no value no value error_prepend_string no value no value error_reporting 2039 2039 expose_php On On extension_dir /usr/local/psa/apache/libexec/php /usr/local/psa/apache/libexec/php file_uploads On On gpc_order GPC GPC highlight.bg #FFFFFF #FFFFFF highlight.comment #FF9900 #FF9900 highlight.default #0000CC #0000CC highlight.html #000000 #000000 highlight.keyword #006600 #006600 highlight.string #CC0000 #CC0000 html_errors On On ignore_repeated_errors Off Off ignore_repeated_source Off Off ignore_user_abort Off Off implicit_flush Off Off include_path .:/usr/local/psa/apache/lib/php .:/usr/local/psa/apache/lib/php log_errors Off Off log_errors_max_len 1024 1024 magic_quotes_gpc On On magic_quotes_runtime Off Off magic_quotes_sybase Off Off max_execution_time 30 30 max_input_time -1 -1 open_basedir /usr/local/psa/home/vhosts/fxcourse.com/httpdocs:/tmp 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 On register_globals On On report_memleaks On On safe_mode Off Off safe_mode_exec_dir /nonexec /nonexec safe_mode_gid Off Off safe_mode_include_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 serialize_precision 100 100 short_open_tag On On SMTP localhost localhost smtp_port 25 25 sql.safe_mode Off Off track_errors Off Off unserialize_callback_func no value no value upload_max_filesize 2M 2M upload_tmp_dir /tmp /tmp user_dir no value no value variables_order EGPCS EGPCS xmlrpc_error_number 0 0 xmlrpc_errors Off Off y2k_compliance Off Off apache APACHE_INCLUDE no value APACHE_TARGET no value Apache Version Apache/1.3.33 (Unix) mod_python/2.7.10 Python/2.2.2 mod_webapp/1.2.0-dev mod_perl/1.29 mod_throttle/3.1.2 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7e Apache Release 10333100 Apache API Version 19990320 Hostname:Port fxcourse.com:80 User/Group apache(2526)/2524 Max Requests Per Child: 100 - Keep Alive: on - Max Per Connection: 1000 Timeouts Connection: 300 - Keep-Alive: 15 Server Root /usr/local/psa/apache Loaded Modules mod_python, mod_webapp, mod_perl, mod_throttle, mod_php4, mod_frontpage, mod_ssl, mod_setenvif, mod_so, mod_unique_id, mod_usertrack, mod_headers, mod_expires, mod_cern_meta, mod_proxy, mod_digest, mod_auth_dbm, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_speling, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_config, mod_define, mod_env, mod_vhost_alias, http_core Directive Local Value Master Value child_terminate 0 0 engine 1 1 last_modified 0 0 xbithack 0 0 Apache Environment Variable Value DOCUMENT_ROOT /usr/local/psa/home/vhosts/fxcourse.com/httpdocs HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_ACCEPT_ENCODING gzip,deflate HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5 HTTP_CONNECTION keep-alive HTTP_HOST www.fxcourse.com HTTP_KEEP_ALIVE 300 HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin REMOTE_ADDR 64.180.109.134 REMOTE_PORT 58721 SCRIPT_FILENAME /usr/local/psa/home/vhosts/fxcourse.com/httpdocs/phpinfo.php SERVER_ADDR 65.110.17.90 SERVER_ADMIN erikg@telus.net SERVER_NAME www.fxcourse.com SERVER_PORT 80 SERVER_SIGNATURE
Apache/1.3.33 Server at www.fxcourse.com Port 80
SERVER_SOFTWARE Apache/1.3.33 (Unix) mod_python/2.7.10 Python/2.2.2 mod_webapp/1.2.0-dev mod_perl/1.29 mod_throttle/3.1.2 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7e UNIQUE_ID RT3o7kFuEVoAAG2uZ1M GATEWAY_INTERFACE CGI/1.1 SERVER_PROTOCOL HTTP/1.1 REQUEST_METHOD GET QUERY_STRING no value REQUEST_URI /phpinfo.php SCRIPT_NAME /phpinfo.php HTTP Headers Information HTTP Request Headers HTTP Request GET /phpinfo.php HTTP/1.1 Accept text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 Accept-Encoding gzip,deflate Accept-Language en-us,en;q=0.5 Connection keep-alive Host www.fxcourse.com Keep-Alive 300 User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 HTTP Response Headers X-Powered-By PHP/4.3.11 Keep-Alive timeout=15, max=1000 Connection Keep-Alive Transfer-Encoding chunked Content-Type text/html bcmath BCMath support enabled ctype ctype functions enabled curl CURL support enabled CURL Information libcurl/7.11.2 OpenSSL/0.9.7e ipv6 zlib/1.1.4 domxml DOM/XML enabled DOM/XML API Version 20020815 libxml Version 20609 HTML Support enabled XPath Support enabled XPointer Support enabled ftp FTP support enabled gd GD Support enabled GD Version bundled (2.0.28 compatible) GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled gettext GetText Support enabled iconv iconv support enabled iconv implementation libiconv iconv library version 1.9 Directive Local Value Master Value iconv.input_encoding ISO-8859-1 ISO-8859-1 iconv.internal_encoding ISO-8859-1 ISO-8859-1 iconv.output_encoding ISO-8859-1 ISO-8859-1 imap IMAP c-Client Version 2004 SSL Support enabled mbstring 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 extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Directive Local Value Master Value mbstring.detect_order no value no value mbstring.encoding_translation Off Off mbstring.func_overload 0 0 mbstring.http_input pass pass mbstring.http_output pass pass mbstring.internal_encoding no value no value mbstring.language neutral neutral mbstring.substitute_character no value no value mcrypt mcrypt support enabled version >= 2.4.x Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes Supported modes cbc cfb ctr ecb ncfb nofb ofb stream Directive Local Value Master Value mcrypt.algorithms_dir no value no value mcrypt.modes_dir no value no value mhash MHASH support Enabled MHASH API Version 20020524 mysql MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 4.1.11 MYSQL_MODULE_TYPE external MYSQL_SOCKET /var/lib/mysql/mysql.sock MYSQL_INCLUDE -I/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/release/dist/usr/local/psa/mysql/include/mysql MYSQL_LIBS -L/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/release/dist/usr/local/psa/mysql/lib/mysql -lmysqlclient Directive Local Value Master Value mysql.allow_persistent On On mysql.connect_timeout 60 60 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 odbc ODBC Support enabled Active Persistent Links 0 Active Links 0 ODBC library iodbc ODBC_INCLUDE -I/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/lib/dist/include ODBC_LFLAGS -L/usr/home/builder/pb_work_dir/psa_aiconfig_7.5.4/psa/lib/dist/lib ODBC_LIBS -liodbc Directive Local Value Master Value odbc.allow_persistent On On odbc.check_persistent On On odbc.default_db no value no value odbc.default_pw no value no value odbc.default_user no value no value odbc.defaultbinmode return as is return as is odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes odbc.max_links Unlimited Unlimited odbc.max_persistent Unlimited Unlimited openssl OpenSSL support enabled OpenSSL Version OpenSSL 0.9.7e 25 Oct 2004 overload User-Space Object Overloading Support enabled pcre PCRE (Perl Compatible Regular Expressions) Support enabled PCRE Library Version 4.5 01-December-2003 pgsql PostgreSQL Support enabled PostgreSQL(libpq) Version 7.4.6 Multibyte character support enabled SSL support enabled Active Persistent Links 0 Active Links 0 Directive Local Value Master Value pgsql.allow_persistent On On pgsql.auto_reset_persistent Off Off pgsql.ignore_notice Off Off pgsql.log_notice Off Off pgsql.max_links Unlimited Unlimited pgsql.max_persistent Unlimited Unlimited posix Revision $Revision: 1.51.2.3 $ session Session Support enabled Registered save handlers files user Directive Local Value Master Value session.auto_start Off Off session.bug_compat_42 On On 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_divisor 100 100 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 On On 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 xml XML Support active XML Namespace Support active EXPAT Version expat_1.95.5 xslt XSLT support enabled Backend Sablotron Sablotron Version 1.0.2 zlib ZLib Support enabled Compiled Version 1.1.4 Linked Version 1.1.4 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 ionCube Loader Environment Variable Value USER root LD_LIBRARY_PATH /lib:/usr/lib:/usr/local/lib:/usr/local/psa/lib HOME /root LOGNAME root OPENSSL_CONF /usr/local/psa/admin/conf/openssl.cnf PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin PERL5LIB /usr/local/psa/lib/perl5/site_perl/5.005 LANG C SHELL /bin/sh PHP Variables Variable Value PHP_SELF /phpinfo.php _SERVER["DOCUMENT_ROOT"] /usr/local/psa/home/vhosts/fxcourse.com/httpdocs _SERVER["HTTP_ACCEPT"] text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 _SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7 _SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate _SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5 _SERVER["HTTP_CONNECTION"] keep-alive _SERVER["HTTP_HOST"] www.fxcourse.com _SERVER["HTTP_KEEP_ALIVE"] 300 _SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 _SERVER["PATH"] /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin _SERVER["REMOTE_ADDR"] 64.180.109.134 _SERVER["REMOTE_PORT"] 58721 _SERVER["SCRIPT_FILENAME"] /usr/local/psa/home/vhosts/fxcourse.com/httpdocs/phpinfo.php _SERVER["SERVER_ADDR"] 65.110.17.90 _SERVER["SERVER_ADMIN"] erikg@telus.net _SERVER["SERVER_NAME"] www.fxcourse.com _SERVER["SERVER_PORT"] 80 _SERVER["SERVER_SIGNATURE"]
Apache/1.3.33 Server at www.fxcourse.com Port 80
_SERVER["SERVER_SOFTWARE"] Apache/1.3.33 (Unix) mod_python/2.7.10 Python/2.2.2 mod_webapp/1.2.0-dev mod_perl/1.29 mod_throttle/3.1.2 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7e _SERVER["UNIQUE_ID"] RT3o7kFuEVoAAG2uZ1M _SERVER["GATEWAY_INTERFACE"] CGI/1.1 _SERVER["SERVER_PROTOCOL"] HTTP/1.1 _SERVER["REQUEST_METHOD"] GET _SERVER["QUERY_STRING"] no value _SERVER["REQUEST_URI"] /phpinfo.php _SERVER["SCRIPT_NAME"] /phpinfo.php _SERVER["PATH_TRANSLATED"] /usr/local/psa/home/vhosts/fxcourse.com/httpdocs/phpinfo.php _SERVER["PHP_SELF"] /phpinfo.php _SERVER["argv"] Array ( ) _SERVER["argc"] 0 _ENV["USER"] root _ENV["LD_LIBRARY_PATH"] /lib:/usr/lib:/usr/local/lib:/usr/local/psa/lib _ENV["HOME"] /root _ENV["LOGNAME"] root _ENV["OPENSSL_CONF"] /usr/local/psa/admin/conf/openssl.cnf _ENV["PATH"] /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin _ENV["PERL5LIB"] /usr/local/psa/lib/perl5/site_perl/5.005 _ENV["LANG"] C _ENV["SHELL"] /bin/sh 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 license@php.net.