Skip to content

Instantly share code, notes, and snippets.

@DavidePrincipi
Created January 7, 2016 08:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidePrincipi/ee61cfe02d25dcb9a4b0 to your computer and use it in GitHub Desktop.
Save DavidePrincipi/ee61cfe02d25dcb9a4b0 to your computer and use it in GitHub Desktop.
Differences on php.ini, between upstream and ns6
--- phpini.orig 2016-01-07 09:26:26.236391702 +0100
+++ phpini.ns6 2016-01-07 09:26:36.532286544 +0100
@@ -61,7 +61,7 @@
PHP Version => 5.3.3
Directive => Local Value => Master Value
-allow_call_time_pass_reference => Off => Off
+allow_call_time_pass_reference => On => On
allow_url_fopen => On => On
allow_url_include => Off => Off
always_populate_raw_post_data => Off => Off
@@ -77,18 +77,18 @@
define_syslog_variables => Off => Off
disable_classes => no value => no value
disable_functions => no value => no value
-display_errors => Off => Off
+display_errors => STDOUT => STDOUT
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
-enable_dl => Off => Off
+enable_dl => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
-error_reporting => 22527 => 22527
+error_reporting => no value => no value
exit_on_timeout => Off => Off
-expose_php => On => On
+expose_php => Off => Off
extension_dir => /usr/lib64/php/modules => /usr/lib64/php/modules
file_uploads => On => On
highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> => <font style="color: #FFFFFF">#FFFFFF</font>
@@ -103,12 +103,12 @@
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .:/usr/share/pear:/usr/share/php => .:/usr/share/pear:/usr/share/php
-log_errors => On => On
+log_errors => Off => Off
log_errors_max_len => 1024 => 1024
-magic_quotes_gpc => Off => Off
+magic_quotes_gpc => On => On
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
-mail.add_x_header => On => On
+mail.add_x_header => Off => Off
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
max_execution_time => 0 => 0
@@ -116,7 +116,7 @@
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
max_input_vars => 1000 => 1000
-memory_limit => 128M => 128M
+memory_limit => 32M => 32M
open_basedir => no value => no value
output_buffering => 0 => 0
output_handler => no value => no value
@@ -126,16 +126,16 @@
realpath_cache_ttl => 120 => 120
register_argc_argv => On => On
register_globals => Off => Off
-register_long_arrays => Off => Off
+register_long_arrays => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
-request_order => GP => GP
+request_order => no value => no value
safe_mode => Off => Off
-safe_mode_exec_dir => no value => no value
+safe_mode_exec_dir => /usr/bin => /usr/bin
safe_mode_gid => Off => Off
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
+sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
serialize_precision => 100 => 100
short_open_tag => Off => Off
SMTP => localhost => localhost
@@ -148,7 +148,7 @@
user_dir => no value => no value
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
-variables_order => GPCS => GPCS
+variables_order => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
@@ -188,14 +188,14 @@
date/time support => enabled
"Olson" Timezone Database Version => 0.system
Timezone Database => internal
-Default timezone => Europe/Berlin
+Default timezone => Europe/Rome
Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
-date.timezone => no value => no value
+date.timezone => Europe/Rome => Europe/Rome
dom
@@ -346,8 +346,8 @@
Directive => Local Value => Master Value
session.auto_start => Off => Off
-session.bug_compat_42 => Off => Off
-session.bug_compat_warn => Off => Off
+session.bug_compat_42 => On => On
+session.bug_compat_warn => On => On
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
@@ -357,15 +357,15 @@
session.cookie_secure => Off => Off
session.entropy_file => no value => no value
session.entropy_length => 0 => 0
-session.gc_divisor => 1000 => 1000
+session.gc_divisor => 100 => 100
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
-session.hash_bits_per_character => 5 => 5
+session.hash_bits_per_character => 4 => 4
session.hash_function => 0 => 0
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
-session.save_path => /var/lib/php/session => /var/lib/php/session
+session.save_path => no value => no value
session.serialize_handler => php => php
session.use_cookies => On => On
session.use_only_cookies => On => On
@@ -394,7 +394,7 @@
standard
Dynamic Library Support => enabled
-Path to sendmail => /usr/sbin/sendmail -t -i
+Path to sendmail => /usr/sbin/sendmail -t -i
Directive => Local Value => Master Value
assert.active => 1 => 1
@@ -406,7 +406,7 @@
default_socket_timeout => 60 => 60
safe_mode_allowed_env_vars => PHP_ => PHP_
safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_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
+url_rewriter.tags => a=href,area=href,frame=src,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset=
user_agent => no value => no value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment