Document Info: This is a copy of the phpinfo(); output from one of our own webservers, after applying relevant updates & utilizing available modules to maximum ability. Some information in this document has been modified for security reasons, such as logins, domain names & script names. All other information is unmodified.

Note: This configuration, while offering advanced features that many webhosts would not, is not the speediest solution when compared to, say an optimized PHP/MySQL setup. However, by installing add-ons like the Zend Optimizer & PHP Accelerator, any impact should be negligable.

Advice: For best results, only install the modules you (or your customers) will need on a regular basis. This document is mainly a proof of concept, also serving as a snapshot of our progress up to now. The server using this PHP configuration is still up and running perfectly, contact me if you would like to view the presented information below in real time - seriously interested parties only, please.

Thanks, Rob Beckett.
PHP Logo

PHP Version 4.3.3


System Linux www.our-secret.com 2.4.19C10_III #1 Thu Aug 28 11:40:02 PDT 2003 i586
Build Date Oct 5 2003 19:33:50
Configure Command './configure' '--prefix=/usr' '--disable-debug' '--with-config-file-path=/etc/httpd/' '--with-exec-dir=/usr/bin' '--enable-safe-mode' '--enable-magic-quotes' '--enable-xml' '--enable-xslt' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-gd-native-ttf' '--enable-ftp' '--enable-sockets' '--enable-bcmath' '--enable-dio' '--enable-exif' '--with-tsrm-pthreads' '--with-regex=system' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-xslt-sablot=/usr' '--with-expat-dir=/usr' '--with-sablot-js=/usr' '--with-iconv-dir=/usr' '--with-apxs=/usr/sbin/apxs' '--with-interbase=shared' '--with-mysql=/usr' '--with-gd' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-tiff-dir=/usr' '--with-freetype-dir=/usr' '--with-t1lib=/usr' '--with-expat-dir=/usr' '--with-xmlrpc=/usr' '--with-mcrypt=/usr' '--with-mhash=/usr' '--with-openssl=/usr' '--with-curl=/usr' '--with-zlib=/usr' '--with-zlib-dir=/usr/src/zlib' '--with-bz2=/usr' '--with-iconv=/usr' '--with-ldap=/usr' '--with-imap=/usr/imap-2000e' '--with-gettext=shared'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/httpd/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

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies


PHP Credits


Configuration

PHP Core

DirectiveLocal ValueMaster Value
allow_call_time_pass_referenceOffOff
allow_url_fopenOnOn
always_populate_raw_post_dataOffOff
arg_separator.input&&
arg_separator.output&&
asp_tagsOffOff
auto_append_fileno valueno value
auto_prepend_fileno valueno value
browscapno valueno value
default_charsetno valueno value
default_mimetypetext/htmltext/html
define_syslog_variablesOffOff
disable_classesno valueno value
disable_functionsno valueno value
display_errorsOnOn
display_startup_errorsOffOff
doc_rootno valueno value
docref_extno valueno value
docref_rootno valueno value
enable_dlOnOn
error_append_stringno valueno value
error_logno valueno value
error_prepend_stringno valueno value
error_reporting20392039
expose_phpOnOn
extension_dir/usr/lib/apache/php/usr/lib/apache/php
file_uploadsOnOn
gpc_orderGPCGPC
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_errorsOnOn
ignore_repeated_errorsOffOff
ignore_repeated_sourceOffOff
ignore_user_abortOffOff
implicit_flushOffOff
include_path.:/usr/lib/php.:/usr/lib/php
log_errorsOffOff
log_errors_max_len10241024
magic_quotes_gpcOffOff
magic_quotes_runtimeOffOff
magic_quotes_sybaseOffOff
max_execution_time3030
max_input_time-1-1
open_basedirno valueno value
output_bufferingno valueno value
output_handlerno valueno value
post_max_size8M8M
precision1414
register_argc_argvOffOff
register_globalsOnOn
report_memleaksOnOn
safe_modeOffOff
safe_mode_exec_dirno valueno value
safe_mode_gidOffOff
safe_mode_include_dirno valueno value
sendmail_fromme@localhost.comme@localhost.com
sendmail_path/usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision100100
short_open_tagOnOn
SMTPlocalhostlocalhost
smtp_port2525
sql.safe_modeOffOff
track_errorsOffOff
unserialize_callback_funcno valueno value
upload_max_filesize2M2M
upload_tmp_dir/home/tmp/home/tmp
user_dirno valueno value
variables_orderGPCSGPCS
xmlrpc_error_number00
xmlrpc_errorsOffOff
y2k_complianceOffOff

apache

APACHE_INCLUDE no value
APACHE_TARGET no value
Apache Version Apache/1.3.20
Apache Release 10320100
Apache API Version 19990320
Hostname:Port www.our-secret.com:80
User/Group httpd(15)/11
Max Requests Per Child: 300000 - Keep Alive: on - Max Per Connection: 0
Timeouts Connection: 300 - Keep-Alive: 15
Server Root /etc/httpd
Loaded Modules mod_ssl, mod_php4, mod_setenvif, mod_unique_id, mod_auth, mod_access, mod_rewrite, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime, mod_log_config, mod_define, mod_env, mod_frontpage, mod_alias, mod_userdir, mod_perl, mod_so, http_core

DirectiveLocal ValueMaster Value
child_terminate00
engine11
last_modified00
xbithack00

Apache Environment

VariableValue
DOCUMENT_ROOT /home/.sites/28/site1/web
HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING gzip,deflate,compress;q=0.9
HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5
HTTP_CONNECTION keep-alive
HTTP_COOKIE cookieSupport=true; loginName=dontthinkso; sessionId=nDht4LSBDrmdzaLL7nakBH5SeYZMQ383udmnO4OfaYjJ8Si34hdvM7dRT0uzTqt; prefs=rows%3D20%26amp%3Bcols%3D65%26amp%3Bauth%3D1%26amp%3Buser%3DMySecret%26amp%3Bdays%3D14%26amp%3Bmin%3D20%26amp%3Bhist%3D8%26amp%3Btzoff%3D-390; phpbb2mysql_data=a%3A1%3A%7B%7D; phpbb2mysql_sid=db52f6b221501fb96c9ccb289aba681a; SQMSESSID=435428bbc3a290af97f2821f4d86b3ea
HTTP_HOST www.our-secret.com
HTTP_KEEP_ALIVE 300
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6
PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
REMOTE_ADDR 63.227.113.9
REMOTE_PORT 4284
SCRIPT_FILENAME /home/.sites/28/site1/web/showmethemoney.php
SCRIPT_URI http://www.our-secret.com/showmethemoney.php
SCRIPT_URL /showmethemoney.php
SERVER_ADDR 10.0.0.160
SERVER_ADMIN dontthinkso
SERVER_NAME www.our-secret.com
SERVER_PORT 80
SERVER_SIGNATURE no value
SERVER_SOFTWARE Apache/1.3.20 Sun Cobalt (Unix) mod_ssl/2.8.4 OpenSSL/0.9.6 PHP/4.3.3 FrontPage/5.0.2.2510 mod_perl/1.26
UNIQUE_ID P4BosgoAAKAAACfvERk
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /showmethemoney.php
SCRIPT_NAME /showmethemoney.php

HTTP Headers Information

HTTP Request Headers
HTTP Request GET /showmethemoney.php HTTP/1.1
Accept text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding gzip,deflate,compress;q=0.9
Accept-Language en-us,en;q=0.5
Connection keep-alive
Cookie cookieSupport=true; loginName=dontthinkso; sessionId=nDht4LSBDrmdzkLL7nakBH5SfYZMQ383udmnO4OfkYjJ8Si33hdvM7dRT0uzTqt; prefs=rows%3D20%26amp%3Bcols%3D65%26amp%3Bauth%3D1%26amp%3Buser%3DMySecret%26amp%3Bdays%3D14%26amp%3Bmin%3D20%26amp%3Bhist%3D8%26amp%3Btzoff%3D-390; phpbb2mysql_data=a%3A0%3A%7B%7D; phpbb2mysql_sid=db52f6a221501fc96c9eab289aba681a; SQMSESSID=435428bbc3e290cf97f2821f4c86b3ea
Host www.our-secret.com
Keep-Alive 300
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6
HTTP Response Headers
X-Powered-By PHP/4.3.3
Keep-Alive timeout=15
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html

bcmath

BCMath support enabled

bz2

BZip2 Support Enabled
BZip2 Version 1.0.2, 30-Dec-2001

ctype

ctype functions enabled

curl

CURL support enabled
CURL Information libcurl/7.10.7 OpenSSL/0.9.6 zlib/1.1.4

dio

dio support enabled

exif

EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.118.2.23 2003/06/25 13:21:54 edink Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF

ftp

FTP support enabled

gd

GD Support enabled
GD Version bundled (2.0.15 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

iconv

iconv support enabled
iconv implementation libiconv
iconv library version 1.9

DirectiveLocal ValueMaster Value
iconv.input_encodingISO-8859-1ISO-8859-1
iconv.internal_encodingISO-8859-1ISO-8859-1
iconv.output_encodingISO-8859-1ISO-8859-1

imap

IMAP c-Client Version 2001

ldap

LDAP Support enabled
RCS Version $Id: ldap.c,v 1.130.2.4 2003/04/30 21:54:02 iliaa Exp $
Total Links 0/unlimited

mbstring

Multibyte Support enabled
Japanese 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.

DirectiveLocal ValueMaster Value
mbstring.detect_orderno valueno value
mbstring.encoding_translationOffOff
mbstring.func_overload00
mbstring.http_inputpasspass
mbstring.http_outputpasspass
mbstring.internal_encodingISO-8859-1no value
mbstring.languageneutralneutral
mbstring.substitute_characterno valueno value

mcrypt

mcrypt supportenabled
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

DirectiveLocal ValueMaster Value
mcrypt.algorithms_dirno valueno value
mcrypt.modes_dirno valueno value

mhash

MHASH support Enabled
MHASH API Version 20020524

mysql

MySQL Supportenabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.56
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient

DirectiveLocal ValueMaster Value
mysql.allow_persistentOnOn
mysql.connect_timeout6060
mysql.default_hostno valueno value
mysql.default_passwordno valueno value
mysql.default_portno valueno value
mysql.default_socketno valueno value
mysql.default_userno valueno value
mysql.max_linksUnlimitedUnlimited
mysql.max_persistentUnlimitedUnlimited
mysql.trace_modeOffOff

openssl

OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.6 24 Sep 2000

overload

User-Space Object Overloading Support enabled

pcre

PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 4.3 21-May-2003

posix

Revision $Revision: 1.51.2.2 $

session

Session Support enabled
Registered save handlers files user

DirectiveLocal ValueMaster Value
session.auto_startOffOff
session.bug_compat_42OnOn
session.bug_compat_warnOnOn
session.cache_expire180180
session.cache_limiternocachenocache
session.cookie_domainno valueno value
session.cookie_lifetime00
session.cookie_path//
session.cookie_secureOffOff
session.entropy_fileno valueno value
session.entropy_length00
session.gc_divisor100100
session.gc_maxlifetime14401440
session.gc_probability11
session.namePHPSESSIDPHPSESSID
session.referer_checkno valueno value
session.save_handlerfilesfiles
session.save_path/tmp/tmp
session.serialize_handlerphpphp
session.use_cookiesOnOn
session.use_only_cookiesOffOff
session.use_trans_sidOffOff

sockets

Sockets Support enabled

standard

Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i

DirectiveLocal ValueMaster Value
assert.active11
assert.bail00
assert.callbackno valueno value
assert.quiet_eval00
assert.warning11
auto_detect_line_endings00
default_socket_timeout6060
safe_mode_allowed_env_varsPHP_PHP_
safe_mode_protected_env_varsLD_LIBRARY_PATHLD_LIBRARY_PATH
url_rewriter.tagsa=href,area=href,frame=src,form=,fieldset=a=href,area=href,frame=src,form=,fieldset=
user_agentno valueno value

tokenizer

Tokenizer Support enabled

xml

XML Support active
XML Namespace Support active
EXPAT Version expat_1.95.2

xslt

XSLT support enabled
Backend Sablotron
Sablotron Version 1.0
Sablotron Information Cflags: -O2 -m486 -fno-strength-reduce Libs: -L/usr/lib -lexpat -ljs Prefix: /usr

zlib

ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4

DirectiveLocal ValueMaster Value
zlib.output_compressionOffOff
zlib.output_compression_level-1-1
zlib.output_handlerno valueno value

Additional Modules

Module Name

Environment

VariableValue
PWD /home/is/libiconv-1.9.1
JES_JAVA_HOME /usr/java/jdk
REMOTEHOST dnvrdslgw10PoolB9.dnvr.uswest.net
HOSTNAME www.our-secret.com
CLASSPATH :/usr/java/jes/bundles/device.jar:/usr/java/jes/bundles/driverlocator.jar:/usr/java/jes/bundles/homeportal.jar:/usr/java/jes/bundles/http.jar:/usr/java/jes/bundles/httpauth.jar:/usr/java/jes/bundles/httpusers.jar:/usr/java/jes/bundles/jesmp.jar:/usr/java/jes/bundles/log.jar:/usr/java/jes/bundles/servlet.jar:/usr/java/jes/bundles/ssl.jar:/usr/java/jes/bundles/tcatjspcruntime.jar:/usr/java/jes/bundles/timer.jar:/usr/java/jes/forteplugin/java_embedded_server.jar:/usr/java/jes/lib/framework.jar:/usr/jxta/cms/cms.jar:/usr/jxta/platform/jxta.jar:/usr/jxta/security/jxtasecurity.jar:/usr/share/pgsql/jdbc7.0-1.2.jar:/usr/share/pgsql/jdbc7.0-1.1.jar:/usr/java/jakarta_regexp1.2/bin/jakarta-regexp-1.2.jar:/usr/java/jmx1.0/lib/jmxgrinder.jar:/usr/java/jmx1.0/lib/jmxri.jar:/usr/java/jmx1.0/lib/jmxtools.jar:/usr/java/jndi1.2.1/lib/jndi.jar:/usr/interclient/interclient-core.jar:/usr/interclient/interclient-res.jar:/usr/interclient/interclient-utils.jar:/usr/interclient/interclient.jar:/usr/java/jmx1.0/lib:/usr/java/jndi1.2.1/lib
LANGUAGE en_US
LESSOPEN |/usr/bin/lesspipe.sh %s
USER 500
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=01;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:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:
MACHTYPE i386-redhat-linux-gnu
LC_ALL en_US
MAIL /home/.users/112/dontthinkso/mbox
INPUTRC /etc/inputrc
LINGUAS en_US
JMX_HOME /usr/java/jmx1.0
LANG en_US
JAVA_HOME /usr/java/jdk1.3
LOGNAME 500
SHLVL 3
JNDI_HOME /usr/java/jndi1.2.1
SHELL /bin/bash
HOSTTYPE i386
OSTYPE linux-gnu
HISTSIZE 1000
TERM vt100
HOME /root
REGEXP_HOME /usr/java/jakarta-regexp1.2
PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
_ /bin/nice

PHP Variables

VariableValue
PHP_SELF /showmethemoney.php
_REQUEST["cookieSupport"]true
_REQUEST["loginName"]dontthinkso
_REQUEST["sessionId"]nDht4LSBDrmdzkLL7nakBH5SfYZMQ383udmnO4OfkYjJ8Si33hdvM7dRT0uzTqt
_REQUEST["prefs"]rows=20&cols=65&auth=1&user=MySecret&days=14&min=20&hist=8&tzoff=-390
_REQUEST["phpbb2mysql_data"]a%3A1%3A%7B%7D
_REQUEST["phpbb2mysql_sid"]db52f6b221501fb96c9ccb289aba681a
_REQUEST["SQMSESSID"]435428bbc3a290af97f2821f4d86b3ea
_COOKIE["cookieSupport"]true
_COOKIE["loginName"]dontthinkso
_COOKIE["sessionId"]nDht4LSBDrmdzaLL7nakBH5SeYZMQ383udmnO4OfaYjJ8Si34hdvM7dRT0uzTqt
_COOKIE["prefs"]rows=20&cols=65&auth=1&user=MySecret&days=14&min=20&hist=8&tzoff=-390
_COOKIE["phpbb2mysql_data"]a:0:{}
_COOKIE["phpbb2mysql_sid"]db52f6a221501fc96c9eab289aba681a
_COOKIE["SQMSESSID"]435428bbc3e290cf97f2821f4c86b3ea
_SERVER["DOCUMENT_ROOT"]/home/.sites/28/site1/web
_SERVER["HTTP_ACCEPT"]text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
_SERVER["HTTP_ACCEPT_CHARSET"]ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_ACCEPT_ENCODING"]gzip,deflate,compress;q=0.9
_SERVER["HTTP_ACCEPT_LANGUAGE"]en-us,en;q=0.5
_SERVER["HTTP_CONNECTION"]keep-alive
_SERVER["HTTP_COOKIE"]cookieSupport=true; loginName=dontthinkso; sessionId=nDht4LSBDrmdzkLL7nakBH5SfYZMQ383udmnO4OfkYjJ8Si33hdvM7dRT0uzTqt; prefs=rows%3D20%26amp%3Bcols%3D65%26amp%3Bauth%3D1%26amp%3Buser%3DMySecret%26amp%3Bdays%3D14%26amp%3Bmin%3D20%26amp%3Bhist%3D8%26amp%3Btzoff%3D-390; phpbb2mysql_data=a%3A0%3A%7B%7D; phpbb2mysql_sid=db52f6a221501fc96c9eab289aba681a; SQMSESSID=435428bbc3e290cf97f2821f4c86b3ea
_SERVER["HTTP_HOST"]www.our-secret.com
_SERVER["HTTP_KEEP_ALIVE"]300
_SERVER["HTTP_USER_AGENT"]Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6
_SERVER["PATH"]/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
_SERVER["REMOTE_ADDR"]63.227.113.9
_SERVER["REMOTE_PORT"]4284
_SERVER["SCRIPT_FILENAME"]/home/.sites/28/site1/web/showmethemoney.php
_SERVER["SCRIPT_URI"]http://www.our-secret.com/showmethemoney.php
_SERVER["SCRIPT_URL"]/showmethemoney.php
_SERVER["SERVER_ADDR"]10.0.0.160
_SERVER["SERVER_ADMIN"]dontthinkso
_SERVER["SERVER_NAME"]www.our-secret.com
_SERVER["SERVER_PORT"]80
_SERVER["SERVER_SIGNATURE"]no value
_SERVER["SERVER_SOFTWARE"]Apache/1.3.20 Sun Cobalt (Unix) mod_ssl/2.8.4 OpenSSL/0.9.6 PHP/4.3.3 FrontPage/5.0.2.2510 mod_perl/1.26
_SERVER["UNIQUE_ID"]P4BosgoAAKAAACfvERk
_SERVER["GATEWAY_INTERFACE"]CGI/1.1
_SERVER["SERVER_PROTOCOL"]HTTP/1.1
_SERVER["REQUEST_METHOD"]GET
_SERVER["QUERY_STRING"]no value
_SERVER["REQUEST_URI"]/showmethemoney.php
_SERVER["SCRIPT_NAME"]/showmethemoney.php
_SERVER["PATH_TRANSLATED"]/home/.sites/28/site1/web/showmethemoney.php
_SERVER["PHP_SELF"]/showmethemoney.php

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.