[DragonFlyBSD - Bug #2751] use iconv under php 5.3.29 can cause php core dumped
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Tue Dec 23 23:08:00 PST 2014
Issue #2751 has been updated by lhmwzy.
If need the .core file,please let me know.
2014-12-23 21:38 GMT+08:00 <bugtracker-admin at leaf.dragonflybsd.org>:
> Issue #2751 has been reported by lhmwzy.
>
> ----------------------------------------
> Bug #2751: use iconv under php 5.3.29 can cause php core dumped
> http://bugs.dragonflybsd.org/issues/2751
>
> * Author: lhmwzy
> * Status: New
> * Priority: Normal
> * Assignee:
> * Category:
> * Target version:
> ----------------------------------------
> # uname -a
> DragonFly 4.0-RELEASE DragonFly v4.0.1.8.g8ad22-RELEASE #8: Sat Dec 13
> 15:53:09 CST 2014 lhm@:/usr/obj/usr/src/sys/fuhai x86_6
> #php -v
> PHP 5.3.29 with Suhosin-Patch (cli) (built: Dec 13 2014 19:42:15)
> Copyright (c) 1997-2014 The PHP Group
> Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
> with XCache v3.2.0, Copyright (c) 2005-2014, by mOo
> with XCache Cacher v3.2.0, Copyright (c) 2005-2014, by mOo
>
> # pkg info
> autoconf-2.69 Automatically configure source code on many
> Un*x platforms
> autoconf-wrapper-20131203 Wrapper script for GNU autoconf
> axel-2.4_1 Download accelerator
> bind-tools-9.10.1_3 BIND DNS suite with updated DNSSEC and DNS64
> ca_root_nss-3.17.2_1 The root certificate bundle from the Mozilla
> Project
> cdrtools-3.00_2 CD/DVD/BluRay and ISO-9660 image creation
> and extraction tools
> cmake-3.0.2 Cross-platform Makefile generator
> cmake-modules-3.0.2 Modules and Templates for CMake
> curl-7.38.0_2 Non-interactive tool to get files from FTP,
> GOPHER, HTTP(S) servers
> cvsps-2.1_1 Create patchset information from CVS
> dialog4ports-0.1.5_2 Console Interface to configure ports
> expat-2.1.0_1 XML 1.0 parser written in C
> gmake-lite-4.1_1 Minimalist version of gnu make
> help2man-1.43.3_1 Automatically generating simple manual pages
> from program output
> idnkit-1.0_5 Library to handle internationalized domain
> names
> indexinfo-0.2 Utility to regenerate the GNU info page
> index
> isc-dhcp42-server-4.2.7 The ISC Dynamic Host Configuration Protocol
> server
> libevent2-2.0.21_3 API for executing callback functions on
> events or timeouts
> libffi-3.0.13_3 Foreign Function Interface
> libiconv-1.14_4 Character set conversion library
> libltdl-2.4.2.418 System independent dlopen wrapper
> libmcrypt-2.5.8_2 Multi-cipher cryptographic library (used in
> PHP)
> libxml2-2.9.2_2 XML parser library for GNOME
> m4-1.4.17_1,1 GNU m4
> mysql56-client-5.6.21 Multithreaded SQL database (client)
> mysql56-server-5.6.21 Multithreaded SQL database (server)
> oniguruma4-4.7.1_1 BSDL Regular Expressions library compatible
> with POSIX/GNU/Perl
> openssl-1.0.1_16 SSL and crypto library
> p5-Locale-gettext-1.05_3 Message handling functions
> patch-2.7.1 GNU patch utility
> pcre-8.35_1 Perl Compatible Regular Expressions library
> perl5-5.16.3_11 Practical Extraction and Report Language
> php53-5.3.29_2 PHP Scripting Language
> php53-ctype-5.3.29_2 The ctype shared extension for php
> php53-dom-5.3.29_2 The dom shared extension for php
> php53-extensions-1.6 "meta-port" to install PHP extensions
> php53-filter-5.3.29_2 The filter shared extension for php
> php53-hash-5.3.29_2 The hash shared extension for php
> php53-iconv-5.3.29_1 The iconv shared extension for php
> php53-json-5.3.29_2 The json shared extension for php
> php53-mbstring-5.3.29_2 The mbstring shared extension for php
> php53-mcrypt-5.3.29_1 The mcrypt shared extension for php
> php53-mysql-5.3.29_2 The mysql shared extension for php
> php53-phar-5.3.29_2 The phar shared extension for php
> php53-posix-5.3.29_2 The posix shared extension for php
> php53-session-5.3.29_2 The session shared extension for php
> php53-simplexml-5.3.29_2 The simplexml shared extension for php
> php53-tokenizer-5.3.29_2 The tokenizer shared extension for php
> php53-xml-5.3.29_2 The xml shared extension for php
> php53-xmlreader-5.3.29_2 The xmlreader shared extension for php
> php53-xmlwriter-5.3.29_2 The xmlwriter shared extension for php
> php53-zip-5.3.29_2 The zip shared extension for php
> pkg-1.3.8_3 Package manager
> pkgconf-0.9.7 Utility to help to configure compiler and
> linker flags
> py27-Jinja2-2.7.3 Fast and easy to use stand-alone template
> engine
> py27-MarkupSafe-0.23 Implements a XML/HTML/XHTML Markup safe
> string for Python
> py27-docutils-0.12 Python Documentation Utilities
> py27-pygments-1.6_2 Syntax highlighter written in Python
> py27-setuptools27-5.5.1 Python packages installer
> py27-sphinx-1.2.3 Python documentation generator
> python27-2.7.8_6 Interpreted object-oriented programming
> language
> tmux-1.9.a_2 Terminal Multiplexer
> vim-lite-7.4.430 Improved version of the vi editor (lite
> package)
> xcache-3.2.0
>
> phpinfo output:
> [image: PHP Logo] <http://www.php.net/>PHP Version 5.3.29
> System DragonFly 4.0-RELEASE DragonFly v4.0.1.8.g8ad22-RELEA x86_64 Build
> Date Dec 13 2014 19:39:12 Configure Command './configure'
> '--with-layout=GNU' '--localstatedir=/var'
> '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all'
> '--enable-libxml' '--enable-mysqlnd' '--with-libxml-dir=/usr/local'
> '--with-pcre-regex=/usr/local' '--with-zlib-dir=/usr' '--program-prefix='
> '--enable-fpm' '--with-fpm-user=www' '--with-fpm-group=www'
> '--with-regex=php' '--with-zend-vm=CALL' '--disable-ipv6'
> '--prefix=/usr/local' '--mandir=/usr/local/man'
> '--infodir=/usr/local/info/' '--build=x86_64-portbld-dragonfly4.0' Server
> API FPM/FastCGI Virtual Directory Support disabled Configuration File
> (php.ini) Path /usr/local/etc Loaded Configuration File
> /usr/local/etc/php.ini
> Scan this dir for additional .ini files /usr/local/etc/php Additional .ini
> files parsed /usr/local/etc/php/extensions.ini,
> /usr/local/etc/php/xcache.ini PHP API 20090626 PHP Extension 20090626 Zend
> Extension 220090626 Zend Extension Build API220090626,NTS PHP Extension
> Build API20090626,NTS Debug Build no Thread Safety disabled Zend Memory
> Manager enabled Zend Multibyte Support disabled IPv6 Support disabled
> Registered
> PHP Streams php, file, glob, data, http, ftp, phar, zip Registered Stream
> Socket Transports tcp, udp, unix, udg Registered Stream Filters
> string.rot13,
> string.toupper, string.tolower, string.strip_tags, convert.*, consumed,
> dechunk, convert.iconv.*, mcrypt.*, mdecrypt.*
> [image: Suhosin logo] <http://www.suhosin.org> This server is protected
> with the Suhosin Patch 0.9.10
> Copyright (c) 2006-2007 Hardened-PHP Project <http://www.hardened-php.net/
> >
> Copyright (c) 2007-2012 SektionEins GmbH <http://www.sektioneins.de/>
> [image: Zend logo] <http://www.zend.com/> This program makes use of the
> Zend Scripting Language Engine:
> Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
> with XCache v3.2.0, Copyright (c) 2005-2014, by mOo
> with XCache Cacher v3.2.0, Copyright (c) 2005-2014, by mOo
>
> ------------------------------
> PHP Credits
> <http://218.59.182.6:8008/php.php?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000
> >
> ------------------------------
> Configuration cgi-fcgi php-fpm active
> DirectiveLocal ValueMaster Value cgi.discard_path00 cgi.fix_pathinfo11
> cgi.force_redirect11 cgi.nph00 cgi.redirect_status_env*no value**no value*
> cgi.rfc2616_headers00 fastcgi.error_header*no value**no value*
> fastcgi.logging11 fpm.config*no value**no value*
> Core PHP Version 5.3.29
> DirectiveLocal ValueMaster Value allow_call_time_pass_referenceOffOff
> allow_url_fopenOnOn allow_url_includeOffOff
> always_populate_raw_post_dataOff
> Off arg_separator.input&& arg_separator.output&& asp_tagsOffOff
> auto_append_file*no value**no value* auto_globals_jitOnOn
> auto_prepend_file*no
> value**no value* browscap*no value**no value* default_charset*no value**no
> value* default_mimetypetext/htmltext/html define_syslog_variablesOffOff
> disable_classes*no value**no value* disable_functions*no value**no value*
> display_errorsOnOn display_startup_errorsOffOff doc_root*no value**no
> value*
> docref_ext*no value**no value* docref_root*no value**no value*
> enable_dlOnOn
> error_append_string*no value**no value* error_log*no value**no value*
> error_prepend_string*no value**no value* error_reporting3071130711
> exit_on_timeoutOffOff expose_phpOnOn extension_dir
> /usr/local/lib/php/20090626/usr/local/lib/php/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.:/usr/local/share/pear.:/usr/local/share/pear log_errorsOnOn
> log_errors_max_len10241024 magic_quotes_gpcOffOff
> magic_quotes_runtimeOffOff
> magic_quotes_sybaseOffOff mail.add_x_headerOffOff
> mail.force_extra_parameters*no value**no value* mail.log*no value**no
> value*
> max_execution_time3030 max_file_uploads2020 max_input_nesting_level6464
> max_input_time6060 max_input_vars10001000 memory_limit128M128M
> open_basedir*no
> value**no value* output_buffering40964096 output_handler*no value**no
> value*
> post_max_size8M8M precision1414 realpath_cache_size16K16K
> realpath_cache_ttl
> 120120 register_argc_argvOffOff register_globalsOffOff register_long_arrays
> OffOff report_memleaksOnOn report_zend_debugOnOn request_order*no value**no
> value* safe_modeOffOff safe_mode_exec_dir*no value**no value* safe_mode_gid
> OffOff safe_mode_include_dir*no value**no value* sendmail_from*no value**no
> value* 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_func*no value**no value* upload_max_filesize2M2M
> upload_tmp_dir*no value**no value* user_dir*no value**no value*
> user_ini.cache_ttl300300 user_ini.filename.user.ini.user.ini
> variables_order
> GPCSGPCS xmlrpc_error_number00 xmlrpc_errorsOffOff y2k_complianceOnOn
> zend.enable_gcOnOn
> ctype ctype functions enabled
> date date/time support enabled "Olson" Timezone Database Version
> 2013.3 Timezone
> Database internal Default timezone Asia/Shanghai
> DirectiveLocal ValueMaster Value date.default_latitude31.766731.7667
> date.default_longitude35.233335.2333 date.sunrise_zenith90.58333390.583333
> date.sunset_zenith90.58333390.583333
> date.timezoneAsia/ShanghaiAsia/Shanghai
> dom DOM/XML enabled DOM/XML API Version 20031129 libxml Version 2.9.2 HTML
> Support enabled XPath Support enabled XPointer Support enabled Schema
> Support enabled RelaxNG Support enabled
> ereg Regex Library Bundled library enabled
> filter Input Validation and Filtering enabled Revision $Id:
> 209a1c3c98c04a5474846e7bbe8ca72054ccfd4f $
> DirectiveLocal ValueMaster Value filter.defaultunsafe_rawunsafe_raw
> filter.default_flags*no value**no value*
> hash hash support enabled Hashing Engines md2 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 support enabled iconv implementation libiconv iconv library
> version 1.14
> DirectiveLocal ValueMaster Value iconv.input_encodingISO-8859-1ISO-8859-1
> iconv.internal_encodingISO-8859-1ISO-8859-1 iconv.output_encodingISO-8859-1
> ISO-8859-1
> json json support enabled json version 1.2.1
> libxml libXML support active libXML Compiled Version 2.9.2 libXML Loaded
> Version 20902 libXML streams enabled
> mbstring Multibyte Support enabled Multibyte string engine libmbfl HTTP
> input encoding translation disabled
> 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 support enabled Multibyte regex (oniguruma)
> version 4.7.1
> DirectiveLocal ValueMaster Value mbstring.detect_order*no value**no 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_encoding*no value**no
> value* mbstring.languageneutralneutral mbstring.strict_detectionOffOff
> mbstring.substitute_character*no value**no value*
> mcrypt mcrypt supportenabled mcrypt_filter supportenabled Version 2.5.8 Api
> No 20021217 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_dir*no value**no value*
> mcrypt.modes_dir*no value**no value*
> mhash MHASH support Enabled MHASH API Version Emulated Support
> mysql MySQL Supportenabled Active Persistent Links 0 Active Links 0 Client
> API version mysqlnd 5.0.8-dev - 20102224 - $Id:
> 731e5b87ba42146a687c29995d2dfd8b4e40b325 $
> DirectiveLocal ValueMaster Value mysql.allow_local_infileOnOn
> mysql.allow_persistentOnOn mysql.connect_timeout6060 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_linksUnlimited
> Unlimited mysql.max_persistentUnlimitedUnlimited mysql.trace_modeOffOff
> mysqlnd mysqlndenabled Version mysqlnd 5.0.8-dev - 20102224 - $Id:
> 731e5b87ba42146a687c29995d2dfd8b4e40b325 $ Compression not supported
> SSL supported
> Command buffer size 4096 Read buffer size 32768 Read timeout 31536000
> Collecting
> statistics Yes Collecting memory statistics No Tracing n/a
> Client statistics
> bytes_sent 0 bytes_received 0 packets_sent 0 packets_received 0
> protocol_overhead_in
> 0 protocol_overhead_out 0 bytes_received_ok_packet 0
> bytes_received_eof_packet
> 0 bytes_received_rset_header_packet 0
> bytes_received_rset_field_meta_packet 0
> bytes_received_rset_row_packet 0
> bytes_received_prepare_response_packet 0
> bytes_received_change_user_packet
> 0 packets_sent_command 0 packets_received_ok 0 packets_received_eof 0
> packets_received_rset_header
> 0 packets_received_rset_field_meta 0 packets_received_rset_row 0
> packets_received_prepare_response
> 0 packets_received_change_user 0 result_set_queries 0
> non_result_set_queries
> 0 no_index_used 0 bad_index_used 0 slow_queries 0 buffered_sets 0
> unbuffered_sets
> 0 ps_buffered_sets 0 ps_unbuffered_sets 0 flushed_normal_sets 0
> flushed_ps_sets
> 0 ps_prepared_never_executed 0 ps_prepared_once_executed 0
> rows_fetched_from_server_normal
> 0 rows_fetched_from_server_ps 0 rows_buffered_from_client_normal 0
> rows_buffered_from_client_ps
> 0 rows_fetched_from_client_normal_buffered 0
> rows_fetched_from_client_normal_unbuffered
> 0 rows_fetched_from_client_ps_buffered 0
> rows_fetched_from_client_ps_unbuffered
> 0 rows_fetched_from_client_ps_cursor 0 rows_affected_normal 0
> rows_affected_ps
> 0 rows_skipped_normal 0 rows_skipped_ps 0 copy_on_write_saved 0
> copy_on_write_performed
> 0 command_buffer_too_small 0 connect_success 0 connect_failure 0
> connection_reused
> 0 reconnect 0 pconnect_success 0 active_connections 0
> active_persistent_connections
> 0 explicit_close 0 implicit_close 0 disconnect_close 0
> in_middle_of_command_close
> 0 explicit_free_result 0 implicit_free_result 0 explicit_stmt_close 0
> implicit_stmt_close
> 0 mem_emalloc_count 0 mem_emalloc_amount 0 mem_ecalloc_count 0
> mem_ecalloc_amount
> 0 mem_erealloc_count 0 mem_erealloc_amount 0 mem_efree_count 0
> mem_efree_amount
> 0 mem_malloc_count 0 mem_malloc_amount 0 mem_calloc_count 0
> mem_calloc_amount
> 0 mem_realloc_count 0 mem_realloc_amount 0 mem_free_count 0
> mem_free_amount 0
> mem_estrndup_count 0 mem_strndup_count 0 mem_estndup_count 0
> mem_strdup_count
> 0 proto_text_fetched_null 0 proto_text_fetched_bit 0
> proto_text_fetched_tinyint
> 0 proto_text_fetched_short 0 proto_text_fetched_int24 0
> proto_text_fetched_int
> 0 proto_text_fetched_bigint 0 proto_text_fetched_decimal 0
> proto_text_fetched_float
> 0 proto_text_fetched_double 0 proto_text_fetched_date 0
> proto_text_fetched_year
> 0 proto_text_fetched_time 0 proto_text_fetched_datetime 0
> proto_text_fetched_timestamp
> 0 proto_text_fetched_string 0 proto_text_fetched_blob 0
> proto_text_fetched_enum
> 0 proto_text_fetched_set 0 proto_text_fetched_geometry 0
> proto_text_fetched_other
> 0 proto_binary_fetched_null 0 proto_binary_fetched_bit 0
> proto_binary_fetched_tinyint
> 0 proto_binary_fetched_short 0 proto_binary_fetched_int24 0
> proto_binary_fetched_int
> 0 proto_binary_fetched_bigint 0 proto_binary_fetched_decimal 0
> proto_binary_fetched_float
> 0 proto_binary_fetched_double 0 proto_binary_fetched_date 0
> proto_binary_fetched_year
> 0 proto_binary_fetched_time 0 proto_binary_fetched_datetime 0
> proto_binary_fetched_timestamp
> 0 proto_binary_fetched_string 0 proto_binary_fetched_blob 0
> proto_binary_fetched_enum
> 0 proto_binary_fetched_set 0 proto_binary_fetched_geometry 0
> proto_binary_fetched_other
> 0 init_command_executed_count 0 init_command_failed_count 0 com_quit 0
> com_init_db
> 0 com_query 0 com_field_list 0 com_create_db 0 com_drop_db 0
> com_refresh 0 com_shutdown
> 0 com_statistics 0 com_process_info 0 com_connect 0 com_process_kill 0
> com_debug
> 0 com_ping 0 com_time 0 com_delayed_insert 0 com_change_user 0
> com_binlog_dump
> 0 com_table_dump 0 com_connect_out 0 com_register_slave 0 com_stmt_prepare
> 0
> com_stmt_execute 0 com_stmt_send_long_data 0 com_stmt_close 0
> com_stmt_reset
> 0 com_stmt_set_option 0 com_stmt_fetch 0 com_deamon 0
> bytes_received_real_data_normal
> 0 bytes_received_real_data_ps 0
> pcre PCRE (Perl Compatible Regular Expressions) Support enabled PCRE
> Library Version 8.35 2014-04-04
> DirectiveLocal ValueMaster Value pcre.backtrack_limit10000001000000
> pcre.recursion_limit100000100000
> Phar Phar: PHP Archive supportenabled Phar EXT version 2.0.1 Phar API
> version 1.1.1 SVN revision $Id:
> 21d763042eb5769ae0a09dc1118df2b5aae6fb33 $ Phar-based
> phar archives enabled Tar-based phar archives enabled ZIP-based phar
> archives enabled gzip compression disabled (install ext/zlib) bzip2
> compression disabled (install pecl/bz2) OpenSSL support disabled (install
> ext/openssl)
> 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_list*no value**no value*
> phar.readonlyOnOn phar.require_hashOnOn
> php_screw php_screw supportenabled
> posix Revision $Id: 5a2da3946b96c5afbf3aff8db8a8681f8bedee85 $
> Reflection Reflectionenabled Version $Id:
> 4af6c4c676864b1c0bfa693845af0688645c37cf $
> session Session Support enabled Registered save handlers files user
> Registered
> serializer handlers php php_binary
> DirectiveLocal ValueMaster Value session.auto_startOffOff
> session.bug_compat_42OffOff session.bug_compat_warnOnOn
> session.cache_expire
> 180180 session.cache_limiternocachenocache session.cookie_domain*no
> value**no
> value* session.cookie_httponlyOffOff session.cookie_lifetime00
> session.cookie_path// session.cookie_secureOffOff session.entropy_file*no
> value**no value* session.entropy_length00 session.gc_divisor10001000
> session.gc_maxlifetime14401440 session.gc_probability11
> session.hash_bits_per_character55 session.hash_function00 session.name
> PHPSESSIDPHPSESSID session.referer_check*no value**no value*
> session.save_handlerfilesfiles session.save_path*no value**no value*
> session.serialize_handlerphpphp session.use_cookiesOnOn
> session.use_only_cookiesOnOn session.use_trans_sid00
> SimpleXML Simplexml supportenabled Revision $Id:
> 02ab7893b36d51e9c59da77d7e287eb3b35e1e32 $ Schema support enabled
> SPL SPL supportenabled Interfaces Countable, OuterIterator,
> RecursiveIterator, SeekableIterator, SplObserver, SplSubject Classes
> AppendIterator,
> 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
> standard Dynamic Library Support enabled Path to sendmail
> /usr/sbin/sendmail
> -t -i
> DirectiveLocal ValueMaster Value assert.active11 assert.bail00
> assert.callback*no value**no value* assert.quiet_eval00 assert.warning11
> auto_detect_line_endings00 default_socket_timeout6060 from*no value**no
> value* safe_mode_allowed_env_varsPHP_PHP_ safe_mode_protected_env_vars
> LD_LIBRARY_PATHLD_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
> XCache XCache Version 3.2.0 Modules Built cacher
> DirectiveLocal ValueMaster Value xcache.coredump_directory*no value**no
> value* xcache.disable_on_crashOffOff xcache.experimentalOffOff xcache.test
> OffOff
> XCache Cacher XCache Cacher Module enabled Readonly Protection disabled
> Page
> Request Time 2014-12-23 21:29:29 Cache Init Time 2014-12-23 21:12:28 Cache
> Instance Id 25964 Opcode Cache enabled, 62,914,560 bytes, 1 split(s), with
> 8192 slots each Variable Cache enabled, 4,194,304 bytes, 1 split(s), with
> 8192 slots each Shared Memory Schemes mmap
> DirectiveLocal ValueMaster Value xcache.admin.enable_authOnOn
> xcache.allocatorbestfitbestfit xcache.cacherOnOn xcache.count11
> xcache.gc_interval00 xcache.mmap_path/dev/zero/dev/zero
> xcache.readonly_protectionOffOff xcache.shm_schememmapmmap
> xcache.size60M60M
> xcache.slots8K8K xcache.statOnOn xcache.ttl00 xcache.var_allocatorbestfit
> bestfit xcache.var_count11 xcache.var_gc_interval300300 xcache.var_maxttl00
> xcache.var_namespace*no value**no value* xcache.var_namespace_mode00
> xcache.var_size4M4M xcache.var_slots8K8K xcache.var_ttl00
> xml XML Support active XML Namespace Support active libxml2 Version 2.9.2
> xmlreader XMLReader enabled
> xmlwriter XMLWriter enabled
> zip Zip enabled Extension Version $Id:
> b1a1a3628c4ed0ad78fb0cc4a99b06a56aa281c4 $ Zip version 1.11.0 Libzip
> version 0.10.1
> Additional Modules Module Name
> Environment VariableValue HOME /nonexistent USER nobody
> PHP Variables VariableValue _REQUEST["PHPSESSID"]j1jq1k6lmqmn95vbnhkqrlqgv1
> _COOKIE["PHPSESSID"]j1jq1k6lmqmn95vbnhkqrlqgv1 _SERVER["HOME"]/nonexistent
> _SERVER["USER"]nobody _SERVER["FCGI_ROLE"]RESPONDER
> _SERVER["QUERY_STRING"]*no
> value* _SERVER["REQUEST_METHOD"]GET _SERVER["CONTENT_TYPE"]*no value*
> _SERVER["CONTENT_LENGTH"]*no value* _SERVER["SCRIPT_FILENAME"]
> /home/www/php.php _SERVER["SCRIPT_NAME"]/php.php _SERVER["REQUEST_URI"]
> /php.php _SERVER["DOCUMENT_URI"]/php.php _SERVER["DOCUMENT_ROOT"]/home/www
> _SERVER["SERVER_PROTOCOL"]HTTP/1.1 _SERVER["GATEWAY_INTERFACE"]CGI/1.1
> _SERVER["SERVER_SOFTWARE"]nginx/1.7.7 _SERVER["REMOTE_ADDR"]123.129.53.114
> _SERVER["REMOTE_PORT"]65131 _SERVER["SERVER_ADDR"]192.168.168.198
> _SERVER["SERVER_PORT"]80 _SERVER["SERVER_NAME"]localhost
> _SERVER["REDIRECT_STATUS"]200 _SERVER["HTTP_HOST"]218.59.182.6:8008
> _SERVER["HTTP_USER_AGENT"]Mozilla/5.0 (Windows NT 5.1; WOW64; rv:34.0)
> Gecko/20100101 Firefox/34.0 _SERVER["HTTP_ACCEPT"]
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> _SERVER["HTTP_ACCEPT_LANGUAGE"]zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
> _SERVER["HTTP_ACCEPT_ENCODING"]gzip, deflate _SERVER["HTTP_COOKIE"]
> PHPSESSID=j1jq1k6lmqmn95vbnhkqrlqgv1 _SERVER["HTTP_CONNECTION"]keep-alive
> _SERVER["PHP_SELF"]/php.php _SERVER["REQUEST_TIME"]1419341369
> 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 at php.net.
>
>
> test script
>
> <?
> $test = iconv("UTF-8","GBK","test");
> ?>
>
>
>
> --
> You have received this notification because you have either subscribed to
> it, or are involved in it.
> To change your notification preferences, please click here:
> http://bugs.dragonflybsd.org/my/account
>
----------------------------------------
Bug #2751: use iconv under php 5.3.29 can cause php core dumped
http://bugs.dragonflybsd.org/issues/2751#change-12364
* Author: lhmwzy
* Status: New
* Priority: Normal
* Assignee:
* Category:
* Target version:
----------------------------------------
# uname -a
DragonFly 4.0-RELEASE DragonFly v4.0.1.8.g8ad22-RELEASE #8: Sat Dec 13
15:53:09 CST 2014 lhm@:/usr/obj/usr/src/sys/fuhai x86_6
#php -v
PHP 5.3.29 with Suhosin-Patch (cli) (built: Dec 13 2014 19:42:15)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
with XCache v3.2.0, Copyright (c) 2005-2014, by mOo
with XCache Cacher v3.2.0, Copyright (c) 2005-2014, by mOo
# pkg info
autoconf-2.69 Automatically configure source code on many
Un*x platforms
autoconf-wrapper-20131203 Wrapper script for GNU autoconf
axel-2.4_1 Download accelerator
bind-tools-9.10.1_3 BIND DNS suite with updated DNSSEC and DNS64
ca_root_nss-3.17.2_1 The root certificate bundle from the Mozilla
Project
cdrtools-3.00_2 CD/DVD/BluRay and ISO-9660 image creation
and extraction tools
cmake-3.0.2 Cross-platform Makefile generator
cmake-modules-3.0.2 Modules and Templates for CMake
curl-7.38.0_2 Non-interactive tool to get files from FTP,
GOPHER, HTTP(S) servers
cvsps-2.1_1 Create patchset information from CVS
dialog4ports-0.1.5_2 Console Interface to configure ports
expat-2.1.0_1 XML 1.0 parser written in C
gmake-lite-4.1_1 Minimalist version of gnu make
help2man-1.43.3_1 Automatically generating simple manual pages
from program output
idnkit-1.0_5 Library to handle internationalized domain
names
indexinfo-0.2 Utility to regenerate the GNU info page index
isc-dhcp42-server-4.2.7 The ISC Dynamic Host Configuration Protocol
server
libevent2-2.0.21_3 API for executing callback functions on
events or timeouts
libffi-3.0.13_3 Foreign Function Interface
libiconv-1.14_4 Character set conversion library
libltdl-2.4.2.418 System independent dlopen wrapper
libmcrypt-2.5.8_2 Multi-cipher cryptographic library (used in
PHP)
libxml2-2.9.2_2 XML parser library for GNOME
m4-1.4.17_1,1 GNU m4
mysql56-client-5.6.21 Multithreaded SQL database (client)
mysql56-server-5.6.21 Multithreaded SQL database (server)
oniguruma4-4.7.1_1 BSDL Regular Expressions library compatible
with POSIX/GNU/Perl
openssl-1.0.1_16 SSL and crypto library
p5-Locale-gettext-1.05_3 Message handling functions
patch-2.7.1 GNU patch utility
pcre-8.35_1 Perl Compatible Regular Expressions library
perl5-5.16.3_11 Practical Extraction and Report Language
php53-5.3.29_2 PHP Scripting Language
php53-ctype-5.3.29_2 The ctype shared extension for php
php53-dom-5.3.29_2 The dom shared extension for php
php53-extensions-1.6 "meta-port" to install PHP extensions
php53-filter-5.3.29_2 The filter shared extension for php
php53-hash-5.3.29_2 The hash shared extension for php
php53-iconv-5.3.29_1 The iconv shared extension for php
php53-json-5.3.29_2 The json shared extension for php
php53-mbstring-5.3.29_2 The mbstring shared extension for php
php53-mcrypt-5.3.29_1 The mcrypt shared extension for php
php53-mysql-5.3.29_2 The mysql shared extension for php
php53-phar-5.3.29_2 The phar shared extension for php
php53-posix-5.3.29_2 The posix shared extension for php
php53-session-5.3.29_2 The session shared extension for php
php53-simplexml-5.3.29_2 The simplexml shared extension for php
php53-tokenizer-5.3.29_2 The tokenizer shared extension for php
php53-xml-5.3.29_2 The xml shared extension for php
php53-xmlreader-5.3.29_2 The xmlreader shared extension for php
php53-xmlwriter-5.3.29_2 The xmlwriter shared extension for php
php53-zip-5.3.29_2 The zip shared extension for php
pkg-1.3.8_3 Package manager
pkgconf-0.9.7 Utility to help to configure compiler and
linker flags
py27-Jinja2-2.7.3 Fast and easy to use stand-alone template
engine
py27-MarkupSafe-0.23 Implements a XML/HTML/XHTML Markup safe
string for Python
py27-docutils-0.12 Python Documentation Utilities
py27-pygments-1.6_2 Syntax highlighter written in Python
py27-setuptools27-5.5.1 Python packages installer
py27-sphinx-1.2.3 Python documentation generator
python27-2.7.8_6 Interpreted object-oriented programming
language
tmux-1.9.a_2 Terminal Multiplexer
vim-lite-7.4.430 Improved version of the vi editor (lite
package)
xcache-3.2.0
phpinfo output:
[image: PHP Logo] <http://www.php.net/>PHP Version 5.3.29
System DragonFly 4.0-RELEASE DragonFly v4.0.1.8.g8ad22-RELEA x86_64 Build
Date Dec 13 2014 19:39:12 Configure Command './configure'
'--with-layout=GNU' '--localstatedir=/var'
'--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all'
'--enable-libxml' '--enable-mysqlnd' '--with-libxml-dir=/usr/local'
'--with-pcre-regex=/usr/local' '--with-zlib-dir=/usr' '--program-prefix='
'--enable-fpm' '--with-fpm-user=www' '--with-fpm-group=www'
'--with-regex=php' '--with-zend-vm=CALL' '--disable-ipv6'
'--prefix=/usr/local' '--mandir=/usr/local/man'
'--infodir=/usr/local/info/' '--build=x86_64-portbld-dragonfly4.0' Server
API FPM/FastCGI Virtual Directory Support disabled Configuration File
(php.ini) Path /usr/local/etc Loaded Configuration File /usr/local/etc/php.ini
Scan this dir for additional .ini files /usr/local/etc/php Additional .ini
files parsed /usr/local/etc/php/extensions.ini,
/usr/local/etc/php/xcache.ini PHP API 20090626 PHP Extension 20090626 Zend
Extension 220090626 Zend Extension Build API220090626,NTS PHP Extension
Build API20090626,NTS Debug Build no Thread Safety disabled Zend Memory
Manager enabled Zend Multibyte Support disabled IPv6 Support disabled
Registered
PHP Streams php, file, glob, data, http, ftp, phar, zip Registered Stream
Socket Transports tcp, udp, unix, udg Registered Stream Filters string.rot13,
string.toupper, string.tolower, string.strip_tags, convert.*, consumed,
dechunk, convert.iconv.*, mcrypt.*, mdecrypt.*
[image: Suhosin logo] <http://www.suhosin.org> This server is protected
with the Suhosin Patch 0.9.10
Copyright (c) 2006-2007 Hardened-PHP Project <http://www.hardened-php.net/>
Copyright (c) 2007-2012 SektionEins GmbH <http://www.sektioneins.de/>
[image: Zend logo] <http://www.zend.com/> This program makes use of the
Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
with XCache v3.2.0, Copyright (c) 2005-2014, by mOo
with XCache Cacher v3.2.0, Copyright (c) 2005-2014, by mOo
------------------------------
PHP Credits
<http://218.59.182.6:8008/php.php?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000>
------------------------------
Configuration cgi-fcgi php-fpm active
DirectiveLocal ValueMaster Value cgi.discard_path00 cgi.fix_pathinfo11
cgi.force_redirect11 cgi.nph00 cgi.redirect_status_env*no value**no value*
cgi.rfc2616_headers00 fastcgi.error_header*no value**no value*
fastcgi.logging11 fpm.config*no value**no value*
Core PHP Version 5.3.29
DirectiveLocal ValueMaster Value allow_call_time_pass_referenceOffOff
allow_url_fopenOnOn allow_url_includeOffOff always_populate_raw_post_dataOff
Off arg_separator.input&& arg_separator.output&& asp_tagsOffOff
auto_append_file*no value**no value* auto_globals_jitOnOn auto_prepend_file*no
value**no value* browscap*no value**no value* default_charset*no value**no
value* default_mimetypetext/htmltext/html define_syslog_variablesOffOff
disable_classes*no value**no value* disable_functions*no value**no value*
display_errorsOnOn display_startup_errorsOffOff doc_root*no value**no value*
docref_ext*no value**no value* docref_root*no value**no value* enable_dlOnOn
error_append_string*no value**no value* error_log*no value**no value*
error_prepend_string*no value**no value* error_reporting3071130711
exit_on_timeoutOffOff expose_phpOnOn extension_dir
/usr/local/lib/php/20090626/usr/local/lib/php/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.:/usr/local/share/pear.:/usr/local/share/pear log_errorsOnOn
log_errors_max_len10241024 magic_quotes_gpcOffOff magic_quotes_runtimeOffOff
magic_quotes_sybaseOffOff mail.add_x_headerOffOff
mail.force_extra_parameters*no value**no value* mail.log*no value**no value*
max_execution_time3030 max_file_uploads2020 max_input_nesting_level6464
max_input_time6060 max_input_vars10001000 memory_limit128M128M open_basedir*no
value**no value* output_buffering40964096 output_handler*no value**no value*
post_max_size8M8M precision1414 realpath_cache_size16K16K realpath_cache_ttl
120120 register_argc_argvOffOff register_globalsOffOff register_long_arrays
OffOff report_memleaksOnOn report_zend_debugOnOn request_order*no value**no
value* safe_modeOffOff safe_mode_exec_dir*no value**no value* safe_mode_gid
OffOff safe_mode_include_dir*no value**no value* sendmail_from*no value**no
value* 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_func*no value**no value* upload_max_filesize2M2M
upload_tmp_dir*no value**no value* user_dir*no value**no value*
user_ini.cache_ttl300300 user_ini.filename.user.ini.user.ini variables_order
GPCSGPCS xmlrpc_error_number00 xmlrpc_errorsOffOff y2k_complianceOnOn
zend.enable_gcOnOn
ctype ctype functions enabled
date date/time support enabled "Olson" Timezone Database Version
2013.3 Timezone
Database internal Default timezone Asia/Shanghai
DirectiveLocal ValueMaster Value date.default_latitude31.766731.7667
date.default_longitude35.233335.2333 date.sunrise_zenith90.58333390.583333
date.sunset_zenith90.58333390.583333 date.timezoneAsia/ShanghaiAsia/Shanghai
dom DOM/XML enabled DOM/XML API Version 20031129 libxml Version 2.9.2 HTML
Support enabled XPath Support enabled XPointer Support enabled Schema
Support enabled RelaxNG Support enabled
ereg Regex Library Bundled library enabled
filter Input Validation and Filtering enabled Revision $Id:
209a1c3c98c04a5474846e7bbe8ca72054ccfd4f $
DirectiveLocal ValueMaster Value filter.defaultunsafe_rawunsafe_raw
filter.default_flags*no value**no value*
hash hash support enabled Hashing Engines md2 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 support enabled iconv implementation libiconv iconv library
version 1.14
DirectiveLocal ValueMaster Value iconv.input_encodingISO-8859-1ISO-8859-1
iconv.internal_encodingISO-8859-1ISO-8859-1 iconv.output_encodingISO-8859-1
ISO-8859-1
json json support enabled json version 1.2.1
libxml libXML support active libXML Compiled Version 2.9.2 libXML Loaded
Version 20902 libXML streams enabled
mbstring Multibyte Support enabled Multibyte string engine libmbfl HTTP
input encoding translation disabled
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 support enabled Multibyte regex (oniguruma)
version 4.7.1
DirectiveLocal ValueMaster Value mbstring.detect_order*no value**no 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_encoding*no value**no
value* mbstring.languageneutralneutral mbstring.strict_detectionOffOff
mbstring.substitute_character*no value**no value*
mcrypt mcrypt supportenabled mcrypt_filter supportenabled Version 2.5.8 Api
No 20021217 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_dir*no value**no value*
mcrypt.modes_dir*no value**no value*
mhash MHASH support Enabled MHASH API Version Emulated Support
mysql MySQL Supportenabled Active Persistent Links 0 Active Links 0 Client
API version mysqlnd 5.0.8-dev - 20102224 - $Id:
731e5b87ba42146a687c29995d2dfd8b4e40b325 $
DirectiveLocal ValueMaster Value mysql.allow_local_infileOnOn
mysql.allow_persistentOnOn mysql.connect_timeout6060 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_linksUnlimited
Unlimited mysql.max_persistentUnlimitedUnlimited mysql.trace_modeOffOff
mysqlnd mysqlndenabled Version mysqlnd 5.0.8-dev - 20102224 - $Id:
731e5b87ba42146a687c29995d2dfd8b4e40b325 $ Compression not supported
SSL supported
Command buffer size 4096 Read buffer size 32768 Read timeout 31536000
Collecting
statistics Yes Collecting memory statistics No Tracing n/a
Client statistics
bytes_sent 0 bytes_received 0 packets_sent 0 packets_received 0
protocol_overhead_in
0 protocol_overhead_out 0 bytes_received_ok_packet 0 bytes_received_eof_packet
0 bytes_received_rset_header_packet 0 bytes_received_rset_field_meta_packet 0
bytes_received_rset_row_packet 0
bytes_received_prepare_response_packet 0
bytes_received_change_user_packet
0 packets_sent_command 0 packets_received_ok 0 packets_received_eof 0
packets_received_rset_header
0 packets_received_rset_field_meta 0 packets_received_rset_row 0
packets_received_prepare_response
0 packets_received_change_user 0 result_set_queries 0 non_result_set_queries
0 no_index_used 0 bad_index_used 0 slow_queries 0 buffered_sets 0
unbuffered_sets
0 ps_buffered_sets 0 ps_unbuffered_sets 0 flushed_normal_sets 0 flushed_ps_sets
0 ps_prepared_never_executed 0 ps_prepared_once_executed 0
rows_fetched_from_server_normal
0 rows_fetched_from_server_ps 0 rows_buffered_from_client_normal 0
rows_buffered_from_client_ps
0 rows_fetched_from_client_normal_buffered 0
rows_fetched_from_client_normal_unbuffered
0 rows_fetched_from_client_ps_buffered 0 rows_fetched_from_client_ps_unbuffered
0 rows_fetched_from_client_ps_cursor 0 rows_affected_normal 0 rows_affected_ps
0 rows_skipped_normal 0 rows_skipped_ps 0 copy_on_write_saved 0
copy_on_write_performed
0 command_buffer_too_small 0 connect_success 0 connect_failure 0
connection_reused
0 reconnect 0 pconnect_success 0 active_connections 0
active_persistent_connections
0 explicit_close 0 implicit_close 0 disconnect_close 0
in_middle_of_command_close
0 explicit_free_result 0 implicit_free_result 0 explicit_stmt_close 0
implicit_stmt_close
0 mem_emalloc_count 0 mem_emalloc_amount 0 mem_ecalloc_count 0
mem_ecalloc_amount
0 mem_erealloc_count 0 mem_erealloc_amount 0 mem_efree_count 0 mem_efree_amount
0 mem_malloc_count 0 mem_malloc_amount 0 mem_calloc_count 0 mem_calloc_amount
0 mem_realloc_count 0 mem_realloc_amount 0 mem_free_count 0 mem_free_amount 0
mem_estrndup_count 0 mem_strndup_count 0 mem_estndup_count 0 mem_strdup_count
0 proto_text_fetched_null 0 proto_text_fetched_bit 0 proto_text_fetched_tinyint
0 proto_text_fetched_short 0 proto_text_fetched_int24 0 proto_text_fetched_int
0 proto_text_fetched_bigint 0 proto_text_fetched_decimal 0
proto_text_fetched_float
0 proto_text_fetched_double 0 proto_text_fetched_date 0 proto_text_fetched_year
0 proto_text_fetched_time 0 proto_text_fetched_datetime 0
proto_text_fetched_timestamp
0 proto_text_fetched_string 0 proto_text_fetched_blob 0 proto_text_fetched_enum
0 proto_text_fetched_set 0 proto_text_fetched_geometry 0
proto_text_fetched_other
0 proto_binary_fetched_null 0 proto_binary_fetched_bit 0
proto_binary_fetched_tinyint
0 proto_binary_fetched_short 0 proto_binary_fetched_int24 0
proto_binary_fetched_int
0 proto_binary_fetched_bigint 0 proto_binary_fetched_decimal 0
proto_binary_fetched_float
0 proto_binary_fetched_double 0 proto_binary_fetched_date 0
proto_binary_fetched_year
0 proto_binary_fetched_time 0 proto_binary_fetched_datetime 0
proto_binary_fetched_timestamp
0 proto_binary_fetched_string 0 proto_binary_fetched_blob 0
proto_binary_fetched_enum
0 proto_binary_fetched_set 0 proto_binary_fetched_geometry 0
proto_binary_fetched_other
0 init_command_executed_count 0 init_command_failed_count 0 com_quit 0
com_init_db
0 com_query 0 com_field_list 0 com_create_db 0 com_drop_db 0
com_refresh 0 com_shutdown
0 com_statistics 0 com_process_info 0 com_connect 0 com_process_kill 0
com_debug
0 com_ping 0 com_time 0 com_delayed_insert 0 com_change_user 0 com_binlog_dump
0 com_table_dump 0 com_connect_out 0 com_register_slave 0 com_stmt_prepare 0
com_stmt_execute 0 com_stmt_send_long_data 0 com_stmt_close 0 com_stmt_reset
0 com_stmt_set_option 0 com_stmt_fetch 0 com_deamon 0
bytes_received_real_data_normal
0 bytes_received_real_data_ps 0
pcre PCRE (Perl Compatible Regular Expressions) Support enabled PCRE
Library Version 8.35 2014-04-04
DirectiveLocal ValueMaster Value pcre.backtrack_limit10000001000000
pcre.recursion_limit100000100000
Phar Phar: PHP Archive supportenabled Phar EXT version 2.0.1 Phar API
version 1.1.1 SVN revision $Id:
21d763042eb5769ae0a09dc1118df2b5aae6fb33 $ Phar-based
phar archives enabled Tar-based phar archives enabled ZIP-based phar
archives enabled gzip compression disabled (install ext/zlib) bzip2
compression disabled (install pecl/bz2) OpenSSL support disabled (install
ext/openssl)
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_list*no value**no value*
phar.readonlyOnOn phar.require_hashOnOn
php_screw php_screw supportenabled
posix Revision $Id: 5a2da3946b96c5afbf3aff8db8a8681f8bedee85 $
Reflection Reflectionenabled Version $Id:
4af6c4c676864b1c0bfa693845af0688645c37cf $
session Session Support enabled Registered save handlers files user Registered
serializer handlers php php_binary
DirectiveLocal ValueMaster Value session.auto_startOffOff
session.bug_compat_42OffOff session.bug_compat_warnOnOn session.cache_expire
180180 session.cache_limiternocachenocache session.cookie_domain*no value**no
value* session.cookie_httponlyOffOff session.cookie_lifetime00
session.cookie_path// session.cookie_secureOffOff session.entropy_file*no
value**no value* session.entropy_length00 session.gc_divisor10001000
session.gc_maxlifetime14401440 session.gc_probability11
session.hash_bits_per_character55 session.hash_function00 session.name
PHPSESSIDPHPSESSID session.referer_check*no value**no value*
session.save_handlerfilesfiles session.save_path*no value**no value*
session.serialize_handlerphpphp session.use_cookiesOnOn
session.use_only_cookiesOnOn session.use_trans_sid00
SimpleXML Simplexml supportenabled Revision $Id:
02ab7893b36d51e9c59da77d7e287eb3b35e1e32 $ Schema support enabled
SPL SPL supportenabled Interfaces Countable, OuterIterator,
RecursiveIterator, SeekableIterator, SplObserver, SplSubject Classes
AppendIterator,
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
standard Dynamic Library Support enabled Path to sendmail /usr/sbin/sendmail
-t -i
DirectiveLocal ValueMaster Value assert.active11 assert.bail00
assert.callback*no value**no value* assert.quiet_eval00 assert.warning11
auto_detect_line_endings00 default_socket_timeout6060 from*no value**no
value* safe_mode_allowed_env_varsPHP_PHP_ safe_mode_protected_env_vars
LD_LIBRARY_PATHLD_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
XCache XCache Version 3.2.0 Modules Built cacher
DirectiveLocal ValueMaster Value xcache.coredump_directory*no value**no
value* xcache.disable_on_crashOffOff xcache.experimentalOffOff xcache.test
OffOff
XCache Cacher XCache Cacher Module enabled Readonly Protection disabled Page
Request Time 2014-12-23 21:29:29 Cache Init Time 2014-12-23 21:12:28 Cache
Instance Id 25964 Opcode Cache enabled, 62,914,560 bytes, 1 split(s), with
8192 slots each Variable Cache enabled, 4,194,304 bytes, 1 split(s), with
8192 slots each Shared Memory Schemes mmap
DirectiveLocal ValueMaster Value xcache.admin.enable_authOnOn
xcache.allocatorbestfitbestfit xcache.cacherOnOn xcache.count11
xcache.gc_interval00 xcache.mmap_path/dev/zero/dev/zero
xcache.readonly_protectionOffOff xcache.shm_schememmapmmap xcache.size60M60M
xcache.slots8K8K xcache.statOnOn xcache.ttl00 xcache.var_allocatorbestfit
bestfit xcache.var_count11 xcache.var_gc_interval300300 xcache.var_maxttl00
xcache.var_namespace*no value**no value* xcache.var_namespace_mode00
xcache.var_size4M4M xcache.var_slots8K8K xcache.var_ttl00
xml XML Support active XML Namespace Support active libxml2 Version 2.9.2
xmlreader XMLReader enabled
xmlwriter XMLWriter enabled
zip Zip enabled Extension Version $Id:
b1a1a3628c4ed0ad78fb0cc4a99b06a56aa281c4 $ Zip version 1.11.0 Libzip
version 0.10.1
Additional Modules Module Name
Environment VariableValue HOME /nonexistent USER nobody
PHP Variables VariableValue _REQUEST["PHPSESSID"]j1jq1k6lmqmn95vbnhkqrlqgv1
_COOKIE["PHPSESSID"]j1jq1k6lmqmn95vbnhkqrlqgv1 _SERVER["HOME"]/nonexistent
_SERVER["USER"]nobody _SERVER["FCGI_ROLE"]RESPONDER _SERVER["QUERY_STRING"]*no
value* _SERVER["REQUEST_METHOD"]GET _SERVER["CONTENT_TYPE"]*no value*
_SERVER["CONTENT_LENGTH"]*no value* _SERVER["SCRIPT_FILENAME"]
/home/www/php.php _SERVER["SCRIPT_NAME"]/php.php _SERVER["REQUEST_URI"]
/php.php _SERVER["DOCUMENT_URI"]/php.php _SERVER["DOCUMENT_ROOT"]/home/www
_SERVER["SERVER_PROTOCOL"]HTTP/1.1 _SERVER["GATEWAY_INTERFACE"]CGI/1.1
_SERVER["SERVER_SOFTWARE"]nginx/1.7.7 _SERVER["REMOTE_ADDR"]123.129.53.114
_SERVER["REMOTE_PORT"]65131 _SERVER["SERVER_ADDR"]192.168.168.198
_SERVER["SERVER_PORT"]80 _SERVER["SERVER_NAME"]localhost
_SERVER["REDIRECT_STATUS"]200 _SERVER["HTTP_HOST"]218.59.182.6:8008
_SERVER["HTTP_USER_AGENT"]Mozilla/5.0 (Windows NT 5.1; WOW64; rv:34.0)
Gecko/20100101 Firefox/34.0 _SERVER["HTTP_ACCEPT"]
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"]zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
_SERVER["HTTP_ACCEPT_ENCODING"]gzip, deflate _SERVER["HTTP_COOKIE"]
PHPSESSID=j1jq1k6lmqmn95vbnhkqrlqgv1 _SERVER["HTTP_CONNECTION"]keep-alive
_SERVER["PHP_SELF"]/php.php _SERVER["REQUEST_TIME"]1419341369
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 at php.net.
test script
<?
$test = iconv("UTF-8","GBK","test");
?>
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list