Created
February 19, 2017 02:32
-
-
Save andypost/b6bf480377b336c94103548b19b953fb to your computer and use it in GitHub Desktop.
php71 ini diff prod vs dev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php-7.1.2$ diff php.ini-production php.ini-development | |
--- php.ini-production | |
+++ php.ini-development | |
@@ -83,7 +83,7 @@ | |
; development version only in development environments, as errors shown to | |
; application users can inadvertently leak otherwise secure information. | |
-; This is php.ini-production INI file. | |
+; This is php.ini-development INI file. | |
;;;;;;;;;;;;;;;;;;; | |
; Quick Reference ; | |
@@ -457,7 +457,7 @@ | |
; Development Value: E_ALL | |
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT | |
; http://php.net/error-reporting | |
-error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT | |
+error_reporting = E_ALL | |
; This directive controls whether or not and where PHP will output errors, | |
; notices and warnings too. Error output is very useful during development, but | |
@@ -474,7 +474,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 | |
@@ -485,7 +485,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 | |
@@ -529,7 +529,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 | |
@@ -1197,7 +1197,7 @@ | |
; Enable / Disable collection of memory usage statistics 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 | |
; Records communication from all extensions using mysqlnd to the specified log | |
; file. | |
@@ -1575,7 +1575,7 @@ | |
; Development Value: 1 | |
; Production Value: -1 | |
; http://php.net/zend.assertions | |
-zend.assertions = -1 | |
+zend.assertions = 1 | |
; Assert(expr); active by default. | |
; http://php.net/assert.active | |
@@ -1897,7 +1897,7 @@ | |
; Enables or disables copying of PHP code (text segment) into HUGE PAGES. | |
; This should improve performance, but requires appropriate OS configuration. | |
-;opcache.huge_code_pages=1 | |
+;opcache.huge_code_pages=0 | |
; Validate cached file permissions. | |
;opcache.validate_permission=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment