Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54071 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49344 invoked from network); 19 Jul 2011 08:57:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jul 2011 08:57:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=h.reindl@thelounge.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=h.reindl@thelounge.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain thelounge.net designates 91.118.73.15 as permitted sender) X-PHP-List-Original-Sender: h.reindl@thelounge.net X-Host-Fingerprint: 91.118.73.15 mail.thelounge.net Windows 98 (1) Received: from [91.118.73.15] ([91.118.73.15:41682] helo=mail.thelounge.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/6C-57459-BF6452E4 for ; Tue, 19 Jul 2011 04:57:33 -0400 Received: from rh.thelounge.net (rh.thelounge.net [10.0.0.99]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.thelounge.net (Postfix) with ESMTPSA id 0A21E89 for ; Tue, 19 Jul 2011 10:57:29 +0200 (CEST) Message-ID: <4E2546F8.1050707@thelounge.net> Date: Tue, 19 Jul 2011 10:57:28 +0200 Organization: the lounge interactive design User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0 MIME-Version: 1.0 To: internals@lists.php.net References: <20110718143939.GB23368@panix.com> <4E24B7AA.20309@gmail.com> <4E24BD03.9040108@thelounge.net> <4E2529DD.4050104@thelounge.net> <4E253E98.9070405@thelounge.net> <4E254325.40701@lsces.co.uk> In-Reply-To: <4E254325.40701@lsces.co.uk> X-Enigmail-Version: 1.2 OpenPGP: id=7F780279; url=http://arrakis.thelounge.net/gpg/h.reindl_thelounge.net.pub.txt Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3FB6924BEFEA6369BCF50B4B" Subject: Re: [PHP-DEV] [RFC] Magic Quotes in PHP, the Finalle From: h.reindl@thelounge.net (Reindl Harald) --------------enig3FB6924BEFEA6369BCF50B4B Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 19.07.2011 10:41, schrieb Lester Caine: > Reindl Harald wrote: >> magic_quotes_gpc is deprecated as of 5.3 >> http://php.net/manual/en/migration53.deprecated.php >> only the default values was left to 1 >> >> how dumb is this? >> >> if i deprecate something i do not like to use it in >> future and at the same time i enable it as default? >> >> there is no logical reason >=20 > Actually it is perfectly logical when one looks at 'BC'. > It may not have been the correct choice in hindsight, but it was implem= ented=20 > at a time when PHP6 was on the road map, and that is no longer the case= =2E=20 does not matter anybody who maintains a server should make a explicit config and not relying on random defaults [PHP] zend.ze1_compatibility_mode =3D 0 zend.enable_gc =3D 1 register_globals =3D 0 register_argc_argv =3D 0 register_long_arrays =3D 0 always_populate_raw_post_data =3D 0 upload_tmp_dir =3D "/var/www/uploadtemp" open_basedir =3D "/www:/usr/share/pear:/usr/= share/php" include_path =3D ".:/www/phpincludes:/usr/sh= are/pear:/usr/share/php" tidy.default_config =3D "/etc/php/tidy.conf" error_log =3D "syslog" mime_magic.magicfile =3D "/etc/php/magic.mime" crack.default_dictionary =3D "/www/phpincludes/cracklib-= words" zlib.output_compression =3D 0 zlib.output_compression_level =3D 8 safe_mode =3D 0 max_execution_time =3D 120 max_input_time =3D 120 memory_limit =3D "256M" post_max_size =3D "60M" upload_max_filesize =3D "60M" file_uploads =3D 1 max_file_uploads =3D 30 allow_url_fopen =3D 1 allow_url_include =3D 0 realpath_cache_size =3D 512K realpath_cache_ttl =3D 120 error_reporting =3D E_ALL | E_STRICT docref_root =3D "http://at.php.net/manual/d= e/" docref_ext =3D ".php" disable_functions =3D "exec, passthru, shell_exec= , system, proc_open, proc_close, proc_nice, proc_terminate, proc_get_status, pcntl_exec, apache_child_terminate, posi= x_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, mail, symlink" disable_classes =3D "" engine =3D 1 short_open_tag =3D 1 asp_tags =3D 0 y2k_compliance =3D 1 output_buffering =3D 0 output_handler =3D "" implicit_flush =3D 0 allow_call_time_pass_reference =3D 0 safe_mode_gid =3D 0 safe_mode_allowed_env_vars =3D "PHP_" safe_mode_protected_env_vars =3D "LD_LIBRARY_PATH" expose_php =3D 0 display_errors =3D 0 display_startup_errors =3D 1 log_errors =3D 1 log_errors_max_len =3D 2048 html_errors =3D 1 track_errors =3D 0 warn_plus_overloading =3D 1 enable_dl =3D 0 cgi.force_redirect =3D 0 cgi.rfc2616_headers =3D 0 fastcgi.impersonate =3D 1 ignore_repeated_errors =3D 0 ignore_repeated_source =3D 0 arg_separator.output =3D "&" arg_separator.input =3D "&" variables_order =3D "EGPCS" gpc_order =3D "GPC" magic_quotes_gpc =3D 0 magic_quotes_runtime =3D 0 magic_quotes_sybase =3D 0 default_mimetype =3D "text/html" default_socket_timeout =3D 10 auto_detect_line_endings =3D 0 unserialize_callback_func =3D "" precision =3D 14 serialize_precision =3D 17 highlight.string =3D "#dd0000" highlight.comment =3D "#ff8000" highlight.keyword =3D "#007700" highlight.bg =3D "#ffffff" highlight.default =3D "#0000bb" highlight.html =3D "#000000" auto_prepend_file =3D "" auto_append_file =3D "" extension =3D "gd.so" extension =3D "mbstring.so" extension =3D "mcrypt.so" extension =3D "mysqli.so" extension =3D "mysql.so" extension =3D "tidy.so" extension =3D "fileinfo.so" extension =3D "eaccelerator.so" extension =3D "suhosin.so" [Session] session.save_path =3D "/var/www/sessiondata" session.save_handler =3D "files" session.use_cookies =3D 1 session.use_only_cookies =3D 1 session.name =3D "PHPSESSID" session.referer_check =3D "" session.auto_start =3D 0 session.cookie_lifetime =3D 0 session.cookie_path =3D "/" session.cookie_domain =3D "" session.cookie_secure =3D 0 session.cookie_httponly =3D 0 session.serialize_handler =3D "php" session.gc_probability =3D 1 session.gc_divisor =3D 200 session.gc_maxlifetime =3D 2700 session.entropy_file =3D "/dev/urandom" session.entropy_length =3D 32 session.cache_limiter =3D "nocache" session.cache_expire =3D 180 session.use_trans_sid =3D 0 session.bug_compat_42 =3D 0 session.bug_compat_warn =3D 0 session.hash_function =3D 1 session.hash_bits_per_character =3D 6 url_rewriter.tags =3D "disabled" [MySQL] mysql.default_host =3D "localhost" mysql.default_port =3D 3306 mysql.default_socket =3D "/var/lib/mysql/mysql.sock"= mysql.allow_local_infile =3D 0 mysql.default_user =3D "" mysql.default_password =3D "" mysql.connect_timeout =3D 30 mysql.allow_persistent =3D 0 mysql.max_persistent =3D 0 mysql.max_links =3D 15 mysql.trace_mode =3D 0 [MySQLI] mysqli.default_host =3D "localhost" mysqli.default_port =3D 3306 mysqli.default_socket =3D "/var/lib/mysql/mysql.sock"= mysqli.allow_local_infile =3D 0; mysqli.default_user =3D "" mysqli.default_password =3D "" mysqli.allow_persistent =3D 0 mysqli.max_persistent =3D 0 mysqli.max_links =3D 15 mysqli.reconnect =3D 1 [mysqlnd] mysqlnd.collect_statistics =3D 0 mysqlnd.collect_memory_statistics =3D 0 mysqlnd.debug =3D 0 mysqlnd.net_read_timeout =3D 60 mysqlnd.net_read_buffer_size =3D 131072 [Assertion] assert.active =3D 1 assert.warning =3D 1 assert.bail =3D 0 assert.callback =3D "" assert.quiet_eval =3D 0 [Sockets] sockets.use_system_read =3D 1 [com] com.allow_dcom =3D 1 com.autoregister_typelib =3D 1 com.autoregister_casesensitive =3D 1 com.autoregister_verbose =3D 1 [bcmath] bcmath.scale =3D 20 [soap] soap.wsdl_cache_enabled =3D 1 soap.wsdl_cache_dir =3D "/var/www/uploadtemp" soap.wsdl_cache_ttl =3D 86400 [mbstring] mbstring.language =3D "German" mbstring.internal_encoding =3D "ISO-8859-1" mbstring.http_input =3D "auto" mbstring.encoding_translation =3D 0 mbstring.detect_order =3D "auto" mbstring.func_overload =3D 0 [Date] date.timezone =3D "Europe/Vienna" [browscap] browscap =3D "/etc/php/browscap.ini" [mail function] SMTP =3D "mail.thelounge.net" sendmail_from =3D "lounge-mailer " smtp_port =3D 25 [eaccelerator] eaccelerator.cache_dir =3D "/var/cache/eaccelerator" eaccelerator.allowed_admin_path =3D "/www/thelounge.net/default= /eaccelerator/" eaccelerator.log_file =3D "/www/_logs/apache_eacceler= ator.log" eaccelerator.enable =3D 1 eaccelerator.check_mtime =3D 1 eaccelerator.check_mtime_interval =3D 20 eaccelerator.optimizer =3D 1 eaccelerator.debug =3D 0 eaccelerator.filter =3D "" eaccelerator.shm_size =3D 350 eaccelerator.shm_max =3D 350M eaccelerator.shm_ttl =3D 1800 eaccelerator.shm_prune_period =3D 900 eaccelerator.shm_only =3D 0 eaccelerator.compress =3D 1 eaccelerator.compress_level =3D 5 [suhosin] suhosin.get.max_vars =3D 50 suhosin.post.max_vars =3D 300 suhosin.post.max_value_length =3D 260000 suhosin.request.max_vars =3D 300 suhosin.request.max_value_length =3D 260000 suhosin.log.file =3D 511 suhosin.log.file.name =3D "/www/_logs/php_error.log" suhosin.log.use-x-forwarded-for =3D Off suhosin.upload.max_uploads =3D 30 suhosin.executor.func.blacklist =3D "exec, passthru, shell_exec= , system, proc_open, proc_close, proc_nice, proc_terminate, proc_get_status, pcntl_exec, apache_child_terminate, posi= x_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, mail, symlink" suhosin.executor.disable_emodifier =3D Off suhosin.session.encrypt =3D Off --------------enig3FB6924BEFEA6369BCF50B4B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4lRvgACgkQhmBjz394AnlMhgCgg1t1mZSIcM3bkar8xR2vyGR3 kSsAn1ShMOj3wVaj8TYk1u7pljfBJhy/ =9TK0 -----END PGP SIGNATURE----- --------------enig3FB6924BEFEA6369BCF50B4B--