Skip to content

Instantly share code, notes, and snippets.

@balibali
Created October 24, 2010 10:41
Show Gist options
  • Save balibali/643431 to your computer and use it in GitHub Desktop.
Save balibali/643431 to your computer and use it in GitHub Desktop.
diff -u php.ini-production php.ini-development (PHP 5.3.3)
--- php.ini-production 2010-06-24 09:15:12.000000000 +0900
+++ php.ini-development 2010-06-24 09:15:12.000000000 +0900
@@ -511,7 +511,7 @@
; Development Value: E_ALL | E_STRICT
; Production Value: E_ALL & ~E_DEPRECATED
; http://php.net/error-reporting
-error_reporting = E_ALL & ~E_DEPRECATED
+error_reporting = E_ALL | E_STRICT
; This directive controls whether or not and where PHP will output errors,
; notices and warnings too. Error output is very useful during development, but
@@ -528,7 +528,7 @@
; Development Value: On
; Production Value: Off
; http://php.net/display-errors
-display_errors = Off
+display_errors = On
; The display of errors which occur during PHP's startup sequence are handled
; separately from display_errors. PHP's default behavior is to suppress those
@@ -539,7 +539,7 @@
; Development Value: On
; Production Value: Off
; http://php.net/display-startup-errors
-display_startup_errors = Off
+display_startup_errors = On
; Besides displaying errors, PHP can also log errors to locations such as a
; server-specific log, STDERR, or a location specified by the error_log
@@ -583,7 +583,7 @@
; Development Value: On
; Production Value: Off
; http://php.net/track-errors
-track_errors = Off
+track_errors = On
; Turn off normal error reporting and emit XML-RPC error XML
; http://php.net/xmlrpc-errors
@@ -601,7 +601,7 @@
; Development Value: On
; Production value: Off
; http://php.net/html-errors
-html_errors = Off
+html_errors = On
; If html_errors is set On PHP produces clickable error messages that direct
; to a page describing the error or function causing the error in detail.
@@ -1246,14 +1246,6 @@
; http://php.net/mysqli.max-persistent
mysqli.max_persistent = -1
-; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
-; http://php.net/mysqli.allow_local_infile
-;mysqli.allow_local_infile = On
-
-; Allow or prevent persistent links.
-; http://php.net/mysqli.allow-persistent
-mysqli.allow_persistent = On
-
; Maximum number of links. -1 means no limit.
; http://php.net/mysqli.max-links
mysqli.max_links = -1
@@ -1302,7 +1294,7 @@
; Enable / Disable collection of memory usage statstics by mysqlnd which can be
; used to tune and monitor MySQL operations.
; http://php.net/mysqlnd.collect_memory_statistics
-mysqlnd.collect_memory_statistics = Off
+mysqlnd.collect_memory_statistics = On
; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
; http://php.net/mysqlnd.net_cmd_buffer_size
@@ -1571,7 +1563,7 @@
; Development Value: On
; Production Value: Off
; http://php.net/session.bug-compat-42
-session.bug_compat_42 = Off
+session.bug_compat_42 = On
; This setting controls whether or not you are warned by PHP when initializing a
; session value into the global space. session.bug_compat_42 must be enabled before
@@ -1580,7 +1572,7 @@
; Development Value: On
; Production Value: Off
; http://php.net/session.bug-compat-warn
-session.bug_compat_warn = Off
+session.bug_compat_warn = On
; Check HTTP Referer to invalidate externally stored URLs containing ids.
; HTTP_REFERER has to contain this substring for the session to be
@@ -1598,6 +1590,7 @@
; On windows, setting the entropy_length setting will activate the
; Windows random source (using the CryptoAPI)
;session.entropy_file = /dev/urandom
+session.entropy_file =
; Set to {nocache,private,public,} to determine HTTP caching aspects
; or leave this empty to avoid sending anti-caching headers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment