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
> 
> Actually it is perfectly logical when one looks at 'BC'.
> It may not have been the correct choice in hindsight, but it was implemented 
> at a time when PHP6 was on the road map, and that is no longer the case. 

does not matter

anybody who maintains a server should make a explicit config
and not relying on random defaults

[PHP]
zend.ze1_compatibility_mode               = 0
zend.enable_gc                            = 1
register_globals                          = 0
register_argc_argv                        = 0
register_long_arrays                      = 0
always_populate_raw_post_data             = 0
upload_tmp_dir                            = "/var/www/uploadtemp"
open_basedir                              = 
"/www:/usr/share/pear:/usr/share/php"
include_path                              = 
".:/www/phpincludes:/usr/share/pear:/usr/share/php"
tidy.default_config                       = "/etc/php/tidy.conf"
error_log                                 = "syslog"
mime_magic.magicfile                      = "/etc/php/magic.mime"
crack.default_dictionary                  = "/www/phpincludes/cracklib-words"
zlib.output_compression                   = 0
zlib.output_compression_level             = 8
safe_mode                                 = 0
max_execution_time                        = 120
max_input_time                            = 120
memory_limit                              = "256M"
post_max_size                             = "60M"
upload_max_filesize                       = "60M"
file_uploads                              = 1
max_file_uploads                          = 30
allow_url_fopen                           = 1
allow_url_include                         = 0
realpath_cache_size                       = 512K
realpath_cache_ttl                        = 120
error_reporting                           = E_ALL | E_STRICT
docref_root                               = "http://at.php.net/manual/de/";
docref_ext                                = ".php"
disable_functions                         = "exec, passthru, shell_exec, 
system, proc_open, proc_close, proc_nice,
proc_terminate, proc_get_status, pcntl_exec, apache_child_terminate, 
posix_kill, posix_mkfifo, posix_setpgid,
posix_setsid, posix_setuid, mail, symlink"
disable_classes                           = ""
engine                                    = 1
short_open_tag                            = 1
asp_tags                                  = 0
y2k_compliance                            = 1
output_buffering                          = 0
output_handler                            = ""
implicit_flush                            = 0
allow_call_time_pass_reference            = 0
safe_mode_gid                             = 0
safe_mode_allowed_env_vars                = "PHP_"
safe_mode_protected_env_vars              = "LD_LIBRARY_PATH"
expose_php                                = 0
display_errors                            = 0
display_startup_errors                    = 1
log_errors                                = 1
log_errors_max_len                        = 2048
html_errors                               = 1
track_errors                              = 0
warn_plus_overloading                     = 1
enable_dl                                 = 0
cgi.force_redirect                        = 0
cgi.rfc2616_headers                       = 0
fastcgi.impersonate                       = 1
ignore_repeated_errors                    = 0
ignore_repeated_source                    = 0
arg_separator.output                      = "&"
arg_separator.input                       = "&"
variables_order                           = "EGPCS"
gpc_order                                 = "GPC"
magic_quotes_gpc                          = 0
magic_quotes_runtime                      = 0
magic_quotes_sybase                       = 0
default_mimetype                          = "text/html"
default_socket_timeout                    = 10
auto_detect_line_endings                  = 0
unserialize_callback_func                 = ""
precision                                 = 14
serialize_precision                       = 17

highlight.string                          = "#dd0000"
highlight.comment                         = "#ff8000"
highlight.keyword                         = "#007700"
highlight.bg                              = "#ffffff"
highlight.default                         = "#0000bb"
highlight.html                            = "#000000"

auto_prepend_file                         = ""
auto_append_file                          = ""

extension                                 = "gd.so"
extension                                 = "mbstring.so"
extension                                 = "mcrypt.so"
extension                                 = "mysqli.so"
extension                                 = "mysql.so"
extension                                 = "tidy.so"
extension                                 = "fileinfo.so"
extension                                 = "eaccelerator.so"
extension                                 = "suhosin.so"

[Session]
session.save_path                         = "/var/www/sessiondata"
session.save_handler                      = "files"
session.use_cookies                       = 1
session.use_only_cookies                  = 1
session.name                              = "PHPSESSID"
session.referer_check                     = ""
session.auto_start                        = 0
session.cookie_lifetime                   = 0
session.cookie_path                       = "/"
session.cookie_domain                     = ""
session.cookie_secure                     = 0
session.cookie_httponly                   = 0
session.serialize_handler                 = "php"
session.gc_probability                    = 1
session.gc_divisor                        = 200
session.gc_maxlifetime                    = 2700
session.entropy_file                      = "/dev/urandom"
session.entropy_length                    = 32
session.cache_limiter                     = "nocache"
session.cache_expire                      = 180
session.use_trans_sid                     = 0
session.bug_compat_42                     = 0
session.bug_compat_warn                   = 0
session.hash_function                     = 1
session.hash_bits_per_character           = 6
url_rewriter.tags                         = "disabled"

[MySQL]
mysql.default_host                        = "localhost"
mysql.default_port                        = 3306
mysql.default_socket                      = "/var/lib/mysql/mysql.sock"
mysql.allow_local_infile                  = 0
mysql.default_user                        = ""
mysql.default_password                    = ""
mysql.connect_timeout                     = 30
mysql.allow_persistent                    = 0
mysql.max_persistent                      = 0
mysql.max_links                           = 15
mysql.trace_mode                          = 0

[MySQLI]
mysqli.default_host                       = "localhost"
mysqli.default_port                       = 3306
mysqli.default_socket                     = "/var/lib/mysql/mysql.sock"
mysqli.allow_local_infile                 = 0;
mysqli.default_user                       = ""
mysqli.default_password                   = ""
mysqli.allow_persistent                   = 0
mysqli.max_persistent                     = 0
mysqli.max_links                          = 15
mysqli.reconnect                          = 1

[mysqlnd]
mysqlnd.collect_statistics                = 0
mysqlnd.collect_memory_statistics         = 0
mysqlnd.debug                             = 0
mysqlnd.net_read_timeout                  = 60
mysqlnd.net_read_buffer_size              = 131072

[Assertion]
assert.active                             = 1
assert.warning                            = 1
assert.bail                               = 0
assert.callback                           = ""
assert.quiet_eval                         = 0

[Sockets]
sockets.use_system_read                   = 1

[com]
com.allow_dcom                            = 1
com.autoregister_typelib                  = 1
com.autoregister_casesensitive            = 1
com.autoregister_verbose                  = 1

[bcmath]
bcmath.scale                              = 20

[soap]
soap.wsdl_cache_enabled                   = 1
soap.wsdl_cache_dir                       = "/var/www/uploadtemp"
soap.wsdl_cache_ttl                       = 86400

[mbstring]
mbstring.language                         = "German"
mbstring.internal_encoding                = "ISO-8859-1"
mbstring.http_input                       = "auto"
mbstring.encoding_translation             = 0
mbstring.detect_order                     = "auto"
mbstring.func_overload                    = 0

[Date]
date.timezone                             = "Europe/Vienna"

[browscap]
browscap                                  = "/etc/php/browscap.ini"

[mail function]
SMTP                                      = "mail.thelounge.net"
sendmail_from                             = "lounge-mailer 
<mai...@thelounge.net>"
smtp_port                                 = 25

[eaccelerator]
eaccelerator.cache_dir                    = "/var/cache/eaccelerator"
eaccelerator.allowed_admin_path           = 
"/www/thelounge.net/default/eaccelerator/"
eaccelerator.log_file                     = "/www/_logs/apache_eaccelerator.log"
eaccelerator.enable                       = 1
eaccelerator.check_mtime                  = 1
eaccelerator.check_mtime_interval         = 20
eaccelerator.optimizer                    = 1
eaccelerator.debug                        = 0
eaccelerator.filter                       = ""
eaccelerator.shm_size                     = 350
eaccelerator.shm_max                      = 350M
eaccelerator.shm_ttl                      = 1800
eaccelerator.shm_prune_period             = 900
eaccelerator.shm_only                     = 0
eaccelerator.compress                     = 1
eaccelerator.compress_level               = 5

[suhosin]
suhosin.get.max_vars                      = 50
suhosin.post.max_vars                     = 300
suhosin.post.max_value_length             = 260000
suhosin.request.max_vars                  = 300
suhosin.request.max_value_length          = 260000
suhosin.log.file                          = 511
suhosin.log.file.name                     = "/www/_logs/php_error.log"
suhosin.log.use-x-forwarded-for           = Off
suhosin.upload.max_uploads                = 30
suhosin.executor.func.blacklist           = "exec, passthru, shell_exec, 
system, proc_open, proc_close, proc_nice,
proc_terminate, proc_get_status, pcntl_exec, apache_child_terminate, 
posix_kill, posix_mkfifo, posix_setpgid,
posix_setsid, posix_setuid, mail, symlink"
suhosin.executor.disable_emodifier        = Off
suhosin.session.encrypt                   = Off

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to