Mac OS X 10.7 Lion supports freetype natively; ships with hardened PHP

Good news out of Cupertino. Apple’s new operating system, Mac OS X 10.7 Lion ships with a newer version of PHP (5.3.6), which has been compiled with GD, freetype, tidy (libtidy), and lots of other goodness.

Additionally, Apple has chosen to compile PHP with Suhosin Patch 0.9.10, which purports to substantially harden PHP. From the Suhosin web site: “It was designed to protect your servers on the one hand against a number of well known problems in PHP applications and on the other hand against potential unknown vulnerabilities within these applications or the PHP core itself.”

Importantly, Apple’s choice of Suhosin is thoughtful insofar as Suhosin is binary compatible to normal PHP installation, which means it is compatible to 3rd party binary extension like ZendOptimizer. Suhosin’s testing indicates that the worst case performance impact is < 9%, but that real world penalties would be much less.

Since it’s compiled in, there’s no turning of Suhosin.

Output of phpinfo() on Mac OS X 10.7 Lion is below:

PHP Logo

PHP Version 5.3.6

 

SystemDarwin theater.local 11.0.0 Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64 x86_64
Build DateJun 16 2011 22:23:58
Configure Command‘/private/var/tmp/apache_mod_php/apache_mod_php-66.1~51/php/configure’ ‘–prefix=/usr’ ‘–mandir=/usr/share/man’ ‘–infodir=/usr/share/info’ ‘–disable-dependency-tracking’ ‘–sysconfdir=/private/etc’ ‘–with-apxs2=/usr/sbin/apxs’ ‘–enable-cli’ ‘–with-config-file-path=/etc’ ‘–with-libxml-dir=/usr’ ‘–with-openssl=/usr’ ‘–with-kerberos=/usr’ ‘–with-zlib=/usr’ ‘–enable-bcmath’ ‘–with-bz2=/usr’ ‘–enable-calendar’ ‘–with-curl=/usr’ ‘–enable-dba’ ‘–enable-ndbm=/usr’ ‘–enable-exif’ ‘–enable-ftp’ ‘–with-gd’ ‘–with-freetype-dir=/BinaryCache/apache_mod_php/apache_mod_php-66.1~51/Root/usr/local’ ‘–with-jpeg-dir=/BinaryCache/apache_mod_php/apache_mod_php-66.1~51/Root/usr/local’ ‘–with-png-dir=/BinaryCache/apache_mod_php/apache_mod_php-66.1~51/Root/usr/local’ ‘–enable-gd-native-ttf’ ‘–with-icu-dir=/usr’ ‘–with-iodbc=/usr’ ‘–with-ldap=/usr’ ‘–with-ldap-sasl=/usr’ ‘–with-libedit=/usr’ ‘–enable-mbstring’ ‘–enable-mbregex’ ‘–with-mysql=mysqlnd’ ‘–with-mysqli=mysqlnd’ ‘–without-pear’ ‘–with-pdo-mysql=mysqlnd’ ‘–with-mysql-sock=/var/mysql/mysql.sock’ ‘–with-readline=/usr’ ‘–enable-shmop’ ‘–with-snmp=/usr’ ‘–enable-soap’ ‘–enable-sockets’ ‘–enable-sqlite-utf8’ ‘–enable-suhosin’ ‘–enable-sysvmsg’ ‘–enable-sysvsem’ ‘–enable-sysvshm’ ‘–with-tidy’ ‘–enable-wddx’ ‘–with-xmlrpc’ ‘–with-iconv-dir=/usr’ ‘–with-xsl=/usr’ ‘–enable-zend-multibyte’ ‘–enable-zip’ ‘–with-pcre-regex=/usr’ ‘–with-pgsql=/usr’ ‘–with-pdo-pgsql=/usr’
Server APIApache 2.0 Handler
Virtual Directory Supportdisabled
Configuration File (php.ini) Path/etc
Loaded Configuration File(none)
Scan this dir for additional .ini files(none)
Additional .ini files parsed(none)
PHP API20090626
PHP Extension20090626
Zend Extension220090626
Zend Extension BuildAPI220090626,NTS
PHP Extension BuildAPI20090626,NTS
Debug Buildno
Thread Safetydisabled
Zend Memory Managerenabled
Zend Multibyte Supportenabled
IPv6 Supportenabled
Registered PHP Streamshttps, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transportstcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filterszlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk

 

Suhosin logo
This server is protected with the Suhosin Patch 0.9.10
Copyright (c) 2006-2007 Hardened-PHP Project
Copyright (c) 2007-2009 SektionEins GmbH

 

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

 


PHP Credits


Configuration

apache2handler

Apache VersionApache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.8r DAV/2 PHP/5.3.6 with Suhosin-Patch
Apache API Version20051115
Server Administratoryou@example.com
Hostname:Porttheater.local:0
User/Group_www(70)/70
Max RequestsPer Child: 0 – Keep Alive: on – Max Per Connection: 100
TimeoutsConnection: 300 – Keep-Alive: 5
Virtual ServerYes
Server Root/usr
Loaded Modulescore prefork http_core mod_so mod_authn_file mod_authn_dbm mod_authn_anon mod_authn_dbd mod_authn_default mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_dbm mod_authz_owner mod_authz_default mod_auth_basic mod_auth_digest mod_cache mod_disk_cache mod_mem_cache mod_dbd mod_dumpio mod_ext_filter mod_include mod_filter mod_substitute mod_deflate mod_log_config mod_log_forensic mod_logio mod_env mod_mime_magic mod_cern_meta mod_expires mod_headers mod_ident mod_usertrack mod_setenvif mod_version mod_proxy mod_proxy_connect mod_proxy_ftp mod_proxy_http mod_proxy_scgi mod_proxy_ajp mod_proxy_balancer mod_ssl mod_mime mod_dav mod_status mod_autoindex mod_asis mod_info mod_cgi mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_imagemap mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_bonjour2 mod_php5

 

DirectiveLocal ValueMaster Value
engine11
last_modified00
xbithack00

 

Apache Environment

VariableValue
HTTP_HOSTtheater.local
HTTP_USER_AGENTMozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; en-us) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
HTTP_ACCEPTapplication/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_LANGUAGEen-us
HTTP_ACCEPT_ENCODINGgzip, deflate
HTTP_COOKIEPHPSESSID=bae3736f91732c4b6200773be40b374a
HTTP_CONNECTIONkeep-alive
PATH/usr/bin:/bin:/usr/sbin:/sbin
SERVER_SIGNATUREno value
SERVER_SOFTWAREApache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.8r DAV/2 PHP/5.3.6 with Suhosin-Patch
SERVER_NAMEtheater.local
SERVER_ADDR10.0.1.10
SERVER_PORT80
REMOTE_ADDR10.0.1.25
DOCUMENT_ROOT/Users/admin/Sites/theater
SERVER_ADMINyou@example.com
SCRIPT_FILENAME/Users/admin/Sites/theater/phpinfo.php
REMOTE_PORT60887
GATEWAY_INTERFACECGI/1.1
SERVER_PROTOCOLHTTP/1.1
REQUEST_METHODGET
QUERY_STRINGno value
REQUEST_URI/phpinfo.php
SCRIPT_NAME/phpinfo.php

 

HTTP Headers Information

HTTP Request Headers
HTTP RequestGET /phpinfo.php HTTP/1.1
Hosttheater.local
User-AgentMozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; en-us) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
Acceptapplication/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Languageen-us
Accept-Encodinggzip, deflate
CookiePHPSESSID=bae3736f91732c4b6200773be40b374a
Connectionkeep-alive
HTTP Response Headers
X-Powered-ByPHP/5.3.6
Keep-Alivetimeout=5, max=100
ConnectionKeep-Alive
Transfer-Encodingchunked
Content-Typetext/html

 

bcmath

BCMath supportenabled

 

DirectiveLocal ValueMaster Value
bcmath.scale00

 

bz2

BZip2 SupportEnabled
Stream Wrapper supportcompress.bzip2://
Stream Filter supportbzip2.decompress, bzip2.compress
BZip2 Version1.0.6, 6-Sept-2010

 

calendar

Calendar supportenabled

 

Core

PHP Version5.3.6

 

DirectiveLocal ValueMaster Value
allow_call_time_pass_referenceOnOn
allow_url_fopenOnOn
allow_url_includeOffOff
always_populate_raw_post_dataOffOff
arg_separator.input&&
arg_separator.output&&
asp_tagsOffOff
auto_append_fileno valueno value
auto_globals_jitOnOn
auto_prepend_fileno valueno value
browscapno valueno value
default_charsetno valueno value
default_mimetypetext/htmltext/html
define_syslog_variablesOffOff
detect_unicodeOnOn
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_reportingno valueno value
exit_on_timeoutOffOff
expose_phpOnOn
extension_dir/usr/lib/php/extensions/no-debug-non-zts-20090626/usr/lib/php/extensions/no-debug-non-zts-20090626
file_uploadsOnOn
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.:.:
log_errorsOffOff
log_errors_max_len10241024
magic_quotes_gpcOnOn
magic_quotes_runtimeOffOff
magic_quotes_sybaseOffOff
mail.add_x_headerOffOff
mail.force_extra_parametersno valueno value
mail.logno valueno value
max_execution_time3030
max_file_uploads2020
max_input_nesting_level6464
max_input_time-1-1
memory_limit128M128M
open_basedirno valueno value
output_buffering00
output_handlerno valueno value
post_max_size8M8M
precision1414
realpath_cache_size16K16K
realpath_cache_ttl120120
register_argc_argvOnOn
register_globalsOffOff
register_long_arraysOnOn
report_memleaksOnOn
report_zend_debugOnOn
request_orderno valueno value
safe_modeOffOff
safe_mode_exec_dir/usr/local/php/bin/usr/local/php/bin
safe_mode_gidOffOff
safe_mode_include_dirno valueno value
sendmail_fromno valueno value
sendmail_path/usr/sbin/sendmail -t -i/usr/sbin/sendmail -t -i
serialize_precision1717
short_open_tagOnOn
SMTPlocalhostlocalhost
smtp_port2525
sql.safe_modeOffOff
track_errorsOffOff
unserialize_callback_funcno valueno value
upload_max_filesize2M2M
upload_tmp_dirno valueno value
user_dirno valueno value
user_ini.cache_ttl300300
user_ini.filename.user.ini.user.ini
variables_orderEGPCSEGPCS
xmlrpc_error_number00
xmlrpc_errorsOffOff
y2k_complianceOnOn
zend.enable_gcOnOn

 

ctype

ctype functionsenabled

 

curl

cURL supportenabled
cURL Information7.21.4
Age3
Features
AsynchDNSYes
DebugNo
GSS-NegotiateYes
IDNNo
IPv6Yes
LargefileYes
NTLMYes
SPNEGONo
SSLYes
SSPINo
krb4No
libzYes
CharConvNo
Protocolsdict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, smtp, smtps, telnet, tftp
Hostuniversal-apple-darwin11.0
SSL VersionOpenSSL/0.9.8r
ZLib Version1.2.5

 

date

Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘America/New_York’ for ‘EDT/-4.0/DST’ instead in /Users/admin/Sites/theater/phpinfo.php on line 2

date/time supportenabled
“Olson” Timezone Database Version2011.4
Timezone Databaseinternal
Default timezoneAmerica/New_York

 

DirectiveLocal ValueMaster Value
date.default_latitude31.766731.7667
date.default_longitude35.233335.2333
date.sunrise_zenith90.58333390.583333
date.sunset_zenith90.58333390.583333
date.timezoneno valueno value

 

dba

DBA supportenabled
Supported handlerscdb cdb_make inifile flatfile

 

DirectiveLocal ValueMaster Value
dba.default_handlerflatfileflatfile

 

dom

DOM/XMLenabled
DOM/XML API Version20031129
libxml Version2.7.3
HTML Supportenabled
XPath Supportenabled
XPointer Supportenabled
Schema Supportenabled
RelaxNG Supportenabled

 

ereg

Regex LibraryBundled library enabled

 

exif

EXIF Supportenabled
EXIF Version1.4 $Id: exif.c 308362 2011-02-15 14:02:26Z pajoye $
Supported EXIF Version0220
Supported filetypesJPEG,TIFF

 

DirectiveLocal ValueMaster Value
exif.decode_jis_intelJISJIS
exif.decode_jis_motorolaJISJIS
exif.decode_unicode_intelUCS-2LEUCS-2LE
exif.decode_unicode_motorolaUCS-2BEUCS-2BE
exif.encode_jisno valueno value
exif.encode_unicodeISO-8859-15ISO-8859-15

 

fileinfo

fileinfo supportenabled
version1.0.5-dev

 

filter

Input Validation and Filteringenabled
Revision$Revision: 306939 $

 

DirectiveLocal ValueMaster Value
filter.defaultunsafe_rawunsafe_raw
filter.default_flagsno valueno value

 

ftp

FTP supportenabled

 

gd

GD Supportenabled
GD Versionbundled (2.0.34 compatible)
FreeType Supportenabled
FreeType Linkagewith freetype
FreeType Version2.4.4
GIF Read Supportenabled
GIF Create Supportenabled
JPEG Supportenabled
libJPEG Version8
PNG Supportenabled
libPNG Version1.5.2
WBMP Supportenabled
XBM Supportenabled

 

DirectiveLocal ValueMaster Value
gd.jpeg_ignore_warning00

 

hash

hash supportenabled
Hashing Enginesmd2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b salsa10 salsa20 haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

 

iconv

iconv supportenabled
iconv implementationlibiconv
iconv library version1.11

 

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

 

json

json supportenabled
json version1.2.1

 

ldap

LDAP Supportenabled
RCS Version$Id: ldap.c 306939 2011-01-01 02:19:59Z felipe $
Total Links0/unlimited
API Version3001
Vendor NameOpenLDAP
Vendor Version20423
SASL SupportEnabled

 

DirectiveLocal ValueMaster Value
ldap.max_linksUnlimitedUnlimited

 

libxml

libXML supportactive
libXML Compiled Version2.7.3
libXML Loaded Version20703
libXML streamsenabled

 

mbstring

Multibyte Supportenabled
Multibyte string enginelibmbfl
HTTP input encoding translationdisabled

 

mbstring extension makes use of “streamable kanji code filter and converter”, which is distributed under the GNU Lesser General Public License version 2.1.

 

Multibyte (japanese) regex supportenabled
Multibyte regex (oniguruma) backtrack checkOn
Multibyte regex (oniguruma) version4.7.1

 

DirectiveLocal ValueMaster Value
mbstring.detect_orderno valueno value
mbstring.encoding_translationOffOff
mbstring.func_overload00
mbstring.http_inputpasspass
mbstring.http_outputpasspass
mbstring.http_output_conv_mimetypes^(text/|application/xhtml\+xml)^(text/|application/xhtml\+xml)
mbstring.internal_encodingno valueno value
mbstring.languageneutralneutral
mbstring.script_encodingno valueno value
mbstring.strict_detectionOffOff
mbstring.substitute_characterno valueno value

 

mysql

MySQL Supportenabled
Active Persistent Links0
Active Links0
Client API versionmysqlnd 5.0.8-dev – 20102224 – $Revision: 308673 $

 

DirectiveLocal ValueMaster Value
mysql.allow_local_infileOnOn
mysql.allow_persistentOnOn
mysql.connect_timeout6060
mysql.default_hostno valueno value
mysql.default_passwordno valueno value
mysql.default_portno valueno value
mysql.default_socket/var/mysql/mysql.sock/var/mysql/mysql.sock
mysql.default_userno valueno value
mysql.max_linksUnlimitedUnlimited
mysql.max_persistentUnlimitedUnlimited
mysql.trace_modeOffOff

 

mysqli

MysqlI Supportenabled
Client API library versionmysqlnd 5.0.8-dev – 20102224 – $Revision: 308673 $
Active Persistent Links0
Inactive Persistent Links0
Active Links0

 

DirectiveLocal ValueMaster Value
mysqli.allow_local_infileOnOn
mysqli.allow_persistentOnOn
mysqli.default_hostno valueno value
mysqli.default_port33063306
mysqli.default_pwno valueno value
mysqli.default_socket/var/mysql/mysql.sock/var/mysql/mysql.sock
mysqli.default_userno valueno value
mysqli.max_linksUnlimitedUnlimited
mysqli.max_persistentUnlimitedUnlimited
mysqli.reconnectOffOff

 

mysqlnd

mysqlndenabled
Versionmysqlnd 5.0.8-dev – 20102224 – $Revision: 308673 $
Compressionnot supported
SSLsupported
Command buffer size4096
Read buffer size32768
Read timeout31536000
Collecting statisticsYes
Collecting memory statisticsNo
Tracingn/a

 

Client statistics
bytes_sent0
bytes_received0
packets_sent0
packets_received0
protocol_overhead_in0
protocol_overhead_out0
bytes_received_ok_packet0
bytes_received_eof_packet0
bytes_received_rset_header_packet0
bytes_received_rset_field_meta_packet0
bytes_received_rset_row_packet0
bytes_received_prepare_response_packet0
bytes_received_change_user_packet0
packets_sent_command0
packets_received_ok0
packets_received_eof0
packets_received_rset_header0
packets_received_rset_field_meta0
packets_received_rset_row0
packets_received_prepare_response0
packets_received_change_user0
result_set_queries0
non_result_set_queries0
no_index_used0
bad_index_used0
slow_queries0
buffered_sets0
unbuffered_sets0
ps_buffered_sets0
ps_unbuffered_sets0
flushed_normal_sets0
flushed_ps_sets0
ps_prepared_never_executed0
ps_prepared_once_executed0
rows_fetched_from_server_normal0
rows_fetched_from_server_ps0
rows_buffered_from_client_normal0
rows_buffered_from_client_ps0
rows_fetched_from_client_normal_buffered0
rows_fetched_from_client_normal_unbuffered0
rows_fetched_from_client_ps_buffered0
rows_fetched_from_client_ps_unbuffered0
rows_fetched_from_client_ps_cursor0
rows_affected_normal0
rows_affected_ps0
rows_skipped_normal0
rows_skipped_ps0
copy_on_write_saved0
copy_on_write_performed0
command_buffer_too_small0
connect_success0
connect_failure0
connection_reused0
reconnect0
pconnect_success0
active_connections0
active_persistent_connections0
explicit_close0
implicit_close0
disconnect_close0
in_middle_of_command_close0
explicit_free_result0
implicit_free_result0
explicit_stmt_close0
implicit_stmt_close0
mem_emalloc_count0
mem_emalloc_amount0
mem_ecalloc_count0
mem_ecalloc_amount0
mem_erealloc_count0
mem_erealloc_amount0
mem_efree_count0
mem_efree_amount0
mem_malloc_count0
mem_malloc_amount0
mem_calloc_count0
mem_calloc_amount0
mem_realloc_count0
mem_realloc_amount0
mem_free_count0
mem_free_amount0
mem_estrndup_count0
mem_strndup_count0
mem_estndup_count0
mem_strdup_count0
proto_text_fetched_null0
proto_text_fetched_bit0
proto_text_fetched_tinyint0
proto_text_fetched_short0
proto_text_fetched_int240
proto_text_fetched_int0
proto_text_fetched_bigint0
proto_text_fetched_decimal0
proto_text_fetched_float0
proto_text_fetched_double0
proto_text_fetched_date0
proto_text_fetched_year0
proto_text_fetched_time0
proto_text_fetched_datetime0
proto_text_fetched_timestamp0
proto_text_fetched_string0
proto_text_fetched_blob0
proto_text_fetched_enum0
proto_text_fetched_set0
proto_text_fetched_geometry0
proto_text_fetched_other0
proto_binary_fetched_null0
proto_binary_fetched_bit0
proto_binary_fetched_tinyint0
proto_binary_fetched_short0
proto_binary_fetched_int240
proto_binary_fetched_int0
proto_binary_fetched_bigint0
proto_binary_fetched_decimal0
proto_binary_fetched_float0
proto_binary_fetched_double0
proto_binary_fetched_date0
proto_binary_fetched_year0
proto_binary_fetched_time0
proto_binary_fetched_datetime0
proto_binary_fetched_timestamp0
proto_binary_fetched_string0
proto_binary_fetched_blob0
proto_binary_fetched_enum0
proto_binary_fetched_set0
proto_binary_fetched_geometry0
proto_binary_fetched_other0
init_command_executed_count0
init_command_failed_count0
com_quit0
com_init_db0
com_query0
com_field_list0
com_create_db0
com_drop_db0
com_refresh0
com_shutdown0
com_statistics0
com_process_info0
com_connect0
com_process_kill0
com_debug0
com_ping0
com_time0
com_delayed_insert0
com_change_user0
com_binlog_dump0
com_table_dump0
com_connect_out0
com_register_slave0
com_stmt_prepare0
com_stmt_execute0
com_stmt_send_long_data0
com_stmt_close0
com_stmt_reset0
com_stmt_set_option0
com_stmt_fetch0
com_deamon0
bytes_received_real_data_normal0
bytes_received_real_data_ps0

 

odbc

ODBC Supportenabled
Active Persistent Links0
Active Links0
ODBC libraryiodbc
ODBC_INCLUDE-I/usr/include
ODBC_LFLAGS-L/usr/lib
ODBC_LIBS-liodbc

 

DirectiveLocal ValueMaster Value
odbc.allow_persistentOnOn
odbc.check_persistentOnOn
odbc.default_cursortypeStatic cursorStatic cursor
odbc.default_dbno valueno value
odbc.default_pwno valueno value
odbc.default_userno valueno value
odbc.defaultbinmodereturn as isreturn as is
odbc.defaultlrlreturn up to 4096 bytesreturn up to 4096 bytes
odbc.max_linksUnlimitedUnlimited
odbc.max_persistentUnlimitedUnlimited

 

openssl

OpenSSL supportenabled
OpenSSL Library VersionOpenSSL 0.9.8r 8 Feb 2011
OpenSSL Header VersionOpenSSL 0.9.8r 8 Feb 2011

 

pcre

PCRE (Perl Compatible Regular Expressions) Supportenabled
PCRE Library Version8.02 2010-03-19

 

DirectiveLocal ValueMaster Value
pcre.backtrack_limit100000100000
pcre.recursion_limit100000100000

 

PDO

PDO supportenabled
PDO driversmysql, pgsql, sqlite, sqlite2

 

pdo_mysql

PDO Driver for MySQLenabled
Client API versionmysqlnd 5.0.8-dev – 20102224 – $Revision: 308673 $

 

DirectiveLocal ValueMaster Value
pdo_mysql.default_socket/var/mysql/mysql.sock/var/mysql/mysql.sock

 

pdo_pgsql

PDO Driver for PostgreSQLenabled
PostgreSQL(libpq) Version9.0.4
Module version1.0.2
Revision$Id: pdo_pgsql.c 306939 2011-01-01 02:19:59Z felipe $

 

pdo_sqlite

PDO Driver for SQLite 3.xenabled
SQLite Library3.7.4

 

pgsql

PostgreSQL Supportenabled
PostgreSQL(libpq) Version9.0.4
Multibyte character supportenabled
SSL supportenabled
Active Persistent Links0
Active Links0

 

DirectiveLocal ValueMaster Value
pgsql.allow_persistentOnOn
pgsql.auto_reset_persistentOffOff
pgsql.ignore_noticeOffOff
pgsql.log_noticeOffOff
pgsql.max_linksUnlimitedUnlimited
pgsql.max_persistentUnlimitedUnlimited

 

Phar

Phar: PHP Archive supportenabled
Phar EXT version2.0.1
Phar API version1.1.1
SVN revision$Revision: 307915 $
Phar-based phar archivesenabled
Tar-based phar archivesenabled
ZIP-based phar archivesenabled
gzip compressionenabled
bzip2 compressionenabled
OpenSSL supportenabled

 

Phar based on pear/PHP_Archive, original concept by Davey Shafik.
Phar fully realized by Gregory Beaver and Marcus Boerger.
Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.

 

DirectiveLocal ValueMaster Value
phar.cache_listno valueno value
phar.readonlyOnOn
phar.require_hashOnOn

 

posix

Revision$Revision: 306939 $

 

Reflection

Reflectionenabled
Version$Revision: 307971 $

 

session

Session Supportenabled
Registered save handlersfiles user sqlite
Registered serializer handlersphp php_binary wddx

 

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_httponlyOffOff
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.hash_bits_per_character44
session.hash_function00
session.namePHPSESSIDPHPSESSID
session.referer_checkno valueno value
session.save_handlerfilesfiles
session.save_pathno valueno value
session.serialize_handlerphpphp
session.use_cookiesOnOn
session.use_only_cookiesOnOn
session.use_trans_sid00

 

shmop

shmop supportenabled

 

SimpleXML

Simplexml supportenabled
Revision$Revision: 308262 $
Schema supportenabled

 

snmp

NET-SNMP Supportenabled
NET-SNMP Version5.6

 

soap

Soap Clientenabled
Soap Serverenabled

 

DirectiveLocal ValueMaster Value
soap.wsdl_cache11
soap.wsdl_cache_dir/tmp/tmp
soap.wsdl_cache_enabled11
soap.wsdl_cache_limit55
soap.wsdl_cache_ttl8640086400

 

sockets

Sockets Supportenabled

 

SPL

SPL supportenabled
InterfacesCountable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
ClassesAppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException

 

SQLite

SQLite supportenabled
PECL Module version2.0-dev $Id: sqlite.c 306939 2011-01-01 02:19:59Z felipe $
SQLite Library2.8.17
SQLite EncodingUTF-8

 

DirectiveLocal ValueMaster Value
sqlite.assoc_case00

 

sqlite3

SQLite3 supportenabled
SQLite3 module version0.7-dev
SQLite Library3.7.4

 

DirectiveLocal ValueMaster Value
sqlite3.extension_dirno valueno value

 

standard

Dynamic Library Supportenabled
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
fromno valueno value
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

 

sysvmsg

sysvmsg supportenabled
Revision$Revision: 306939 $

 

tidy

Tidy supportenabled
libTidy Release31 October 2006 – Apple Inc. build 15.6
Extension Version2.0 ($Id: tidy.c 306939 2011-01-01 02:19:59Z felipe $)

 

DirectiveLocal ValueMaster Value
tidy.clean_output00
tidy.default_configno valueno value

 

tokenizer

Tokenizer Supportenabled

 

wddx

WDDX Supportenabled
WDDX Session Serializerenabled

 

xml

XML Supportactive
XML Namespace Supportactive
libxml2 Version2.7.3

 

xmlreader

XMLReaderenabled

 

xmlrpc

core library versionxmlrpc-epi v. 0.51
php extension version0.51
authorDan Libby
homepagehttp://xmlrpc-epi.sourceforge.net
open sourced byEpinions.com

 

xmlwriter

XMLWriterenabled

 

xsl

XSLenabled
libxslt Version1.1.24
libxslt compiled against libxml Version2.7.3
EXSLTenabled
libexslt Version1.1.24

 

zip

Zipenabled
Extension Version$Id: php_zip.c 308107 2011-02-07 16:20:16Z pajoye $
Zip version1.9.1
Libzip version0.9.0

 

zlib

ZLib Supportenabled
Stream Wrapper supportcompress.zlib://
Stream Filter supportzlib.inflate, zlib.deflate
Compiled Version1.2.5
Linked Version1.2.5

 

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

 

Additional Modules

Module Name
sysvsem
sysvshm

 

Environment

VariableValue
PATH/usr/bin:/bin:/usr/sbin:/sbin

 

PHP Variables

VariableValue
_REQUEST[“PHPSESSID”]bae3736f91732c4b6200773be40b374a
_COOKIE[“PHPSESSID”]bae3736f91732c4b6200773be40b374a
_SERVER[“HTTP_HOST”]theater.local
_SERVER[“HTTP_USER_AGENT”]Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; en-us) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
_SERVER[“HTTP_ACCEPT”]application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
_SERVER[“HTTP_ACCEPT_LANGUAGE”]en-us
_SERVER[“HTTP_ACCEPT_ENCODING”]gzip, deflate
_SERVER[“HTTP_COOKIE”]PHPSESSID=bae3736f91732c4b6200773be40b374a
_SERVER[“HTTP_CONNECTION”]keep-alive
_SERVER[“PATH”]/usr/bin:/bin:/usr/sbin:/sbin
_SERVER[“SERVER_SIGNATURE”]no value
_SERVER[“SERVER_SOFTWARE”]Apache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.8r DAV/2 PHP/5.3.6 with Suhosin-Patch
_SERVER[“SERVER_NAME”]theater.local
_SERVER[“SERVER_ADDR”]10.0.1.10
_SERVER[“SERVER_PORT”]80
_SERVER[“REMOTE_ADDR”]10.0.1.25
_SERVER[“DOCUMENT_ROOT”]/Users/admin/Sites/theater
_SERVER[“SERVER_ADMIN”]you@example.com
_SERVER[“SCRIPT_FILENAME”]/Users/admin/Sites/theater/phpinfo.php
_SERVER[“REMOTE_PORT”]60887
_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[“PHP_SELF”]/phpinfo.php
_SERVER[“REQUEST_TIME”]1312207352
_SERVER[“argv”]
Array
(
)
_SERVER[“argc”]0
_ENV[“PATH”]/usr/bin:/bin:/usr/sbin:/sbin

 

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: LICENSEThis 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.

 

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.