Last active
October 27, 2016 07:39
-
-
Save doole/5750949aa656550fc878 to your computer and use it in GitHub Desktop.
Diff for macOS (10.10, 10.11, 10.12) /private/etc/php.ini
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.ini.default 2016-09-07 01:39:57.000000000 +0200 | |
+++ php.ini 2016-10-27 09:37:27.000000000 +0200 | |
@@ -446,7 +446,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 | |
@@ -463,7 +463,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 | |
@@ -657,7 +657,7 @@ | |
; Its value may be 0 to disable the limit. It is ignored if POST data reading | |
; is disabled through enable_post_data_reading. | |
; http://php.net/post-max-size | |
-post_max_size = 8M | |
+post_max_size = 64M | |
; Automatically add files before PHP document. | |
; http://php.net/auto-prepend-file | |
@@ -805,7 +805,7 @@ | |
; Maximum allowed size for uploaded files. | |
; http://php.net/upload-max-filesize | |
-upload_max_filesize = 2M | |
+upload_max_filesize = 16M | |
; Maximum number of files that can be uploaded via a single request | |
max_file_uploads = 20 | |
@@ -910,6 +910,14 @@ | |
;extension=php_xmlrpc.dll | |
;extension=php_xsl.dll | |
+; DEBUG | |
+zend_extension=xdebug.so | |
+ | |
+; custom PHP extensions | |
+extension=/usr/local/lib/php/extensions/pgsql.so | |
+extension=/usr/local/lib/php/extensions/pdo_pgsql.so | |
+extension=/usr/local/lib/php/extensions/mcrypt.so | |
+ | |
;;;;;;;;;;;;;;;;;;; | |
; Module Settings ; | |
;;;;;;;;;;;;;;;;;;; | |
@@ -921,7 +929,7 @@ | |
[Date] | |
; Defines the default timezone used by the date functions | |
; http://php.net/date.timezone | |
-;date.timezone = | |
+date.timezone = 'Europe/Berlin' | |
; http://php.net/date.default-latitude | |
;date.default_latitude = 31.7667 | |
@@ -998,7 +1006,7 @@ | |
; Default socket name for local MySQL connects. If empty, uses the built-in | |
; MySQL defaults. | |
; http://php.net/pdo_mysql.default-socket | |
-pdo_mysql.default_socket= | |
+pdo_mysql.default_socket = /tmp/mysql.sock | |
[Phar] | |
; http://php.net/phar.readonly | |
@@ -1147,7 +1155,7 @@ | |
; Default socket name for local MySQL connects. If empty, uses the built-in | |
; MySQL defaults. | |
; http://php.net/mysql.default-socket | |
-mysql.default_socket = | |
+mysql.default_socket = /tmp/mysql.sock | |
; Default host for mysql_connect() (doesn't apply in safe mode). | |
; http://php.net/mysql.default-host |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment