Advertisement
Guest User

Untitled

a guest
May 10th, 2012
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.82 KB | None | 0 0
  1. --- /etc/php5/apache2/php.ini 2011-02-07 17:49:41.000000000 +0000
  2. +++ /usr/share/php5/php.ini-production 2012-05-04 03:46:00.000000000 +0100
  3. @@ -317,7 +317,7 @@
  4. ; When floats & doubles are serialized store serialize_precision significant
  5. ; digits after the floating point. The default value ensures that when floats
  6. ; are decoded with unserialize, the data will remain the same.
  7. -serialize_precision = 100
  8. +serialize_precision = 17
  9.  
  10. ; This directive allows you to enable and disable warnings which PHP will issue
  11. ; if you pass a value by reference at function call time. Passing values by
  12. @@ -382,7 +382,7 @@
  13. ; It receives a comma-delimited list of function names. This directive is
  14. ; *NOT* affected by whether Safe Mode is turned On or Off.
  15. ; http://php.net/disable-functions
  16. -disable_functions =
  17. +disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
  18.  
  19. ; This directive allows you to disable certain classes for security reasons.
  20. ; It receives a comma-delimited list of class names. This directive is
  21. @@ -419,6 +419,10 @@
  22. ; http://php.net/realpath-cache-ttl
  23. ;realpath_cache_ttl = 120
  24.  
  25. +; Enables or disables the circular reference collector.
  26. +; http://php.net/zend.enable-gc
  27. +zend.enable_gc = On
  28. +
  29. ;;;;;;;;;;;;;;;;;
  30. ; Miscellaneous ;
  31. ;;;;;;;;;;;;;;;;;
  32. @@ -453,6 +457,9 @@
  33. ; http://php.net/max-input-nesting-level
  34. ;max_input_nesting_level = 64
  35.  
  36. +; How many GET/POST/COOKIE input variables may be accepted
  37. +; max_input_vars = 1000
  38. +
  39. ; Maximum amount of memory a script may consume (128MB)
  40. ; http://php.net/memory-limit
  41. memory_limit = 128M
  42. @@ -621,13 +628,13 @@
  43. ; this setting blank.
  44. ; http://php.net/error-prepend-string
  45. ; Example:
  46. -;error_prepend_string = "<font color=#ff0000>"
  47. +;error_prepend_string = "<span style='color: #ff0000'>"
  48.  
  49. ; String to output after an error message. PHP's default behavior is to leave
  50. ; this setting blank.
  51. ; http://php.net/error-append-string
  52. ; Example:
  53. -;error_append_string = "</font>"
  54. +;error_append_string = "</span>"
  55.  
  56. ; Log errors to specified file. PHP's default behavior is to leave this value
  57. ; empty.
  58. @@ -637,6 +644,11 @@
  59. ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
  60. ;error_log = syslog
  61.  
  62. +;windows.show_crt_warning
  63. +; Default value: 0
  64. +; Development value: 0
  65. +; Production value: 0
  66. +
  67. ;;;;;;;;;;;;;;;;;
  68. ; Data Handling ;
  69. ;;;;;;;;;;;;;;;;;
  70. @@ -876,7 +888,7 @@
  71.  
  72. ; Maximum allowed size for uploaded files.
  73. ; http://php.net/upload-max-filesize
  74. -upload_max_filesize = 20M
  75. +upload_max_filesize = 2M
  76.  
  77. ; Maximum number of files that can be uploaded via a single request
  78. max_file_uploads = 20
  79. @@ -937,7 +949,6 @@
  80. ;
  81. ; If you only provide the name of the extension, PHP will look for it in its
  82. ; default extension directory.
  83. -;
  84.  
  85. ;;;;;;;;;;;;;;;;;;;
  86. ; Module Settings ;
  87. @@ -1054,7 +1065,8 @@
  88. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
  89. mail.add_x_header = On
  90.  
  91. -; Log all mail() calls including the full path of the script, line #, to address and headers
  92. +; The path to a log file that will log all mail() calls. Log entries include
  93. +; the full path of the script, line number, To address and headers.
  94. ;mail.log =
  95.  
  96. [SQL]
  97. @@ -1247,12 +1259,12 @@
  98. mysqli.reconnect = Off
  99.  
  100. [mysqlnd]
  101. -; Enable / Disable collection of general statstics by mysqlnd which can be
  102. +; Enable / Disable collection of general statistics by mysqlnd which can be
  103. ; used to tune and monitor MySQL operations.
  104. ; http://php.net/mysqlnd.collect_statistics
  105. mysqlnd.collect_statistics = On
  106.  
  107. -; Enable / Disable collection of memory usage statstics by mysqlnd which can be
  108. +; Enable / Disable collection of memory usage statistics by mysqlnd which can be
  109. ; used to tune and monitor MySQL operations.
  110. ; http://php.net/mysqlnd.collect_memory_statistics
  111. mysqlnd.collect_memory_statistics = Off
  112. @@ -1319,7 +1331,7 @@
  113. ; http://php.net/oci8.old-oci-close-semantics
  114. ;oci8.old_oci_close_semantics = Off
  115.  
  116. -[PostgresSQL]
  117. +[PostgreSQL]
  118. ; Allow or prevent persistent links.
  119. ; http://php.net/pgsql.allow-persistent
  120. pgsql.allow_persistent = On
  121. @@ -1481,7 +1493,7 @@
  122. ; Development Value: 1
  123. ; Production Value: 1
  124. ; http://php.net/session.gc-probability
  125. -session.gc_probability = 1
  126. +session.gc_probability = 0
  127.  
  128. ; Defines the probability that the 'garbage collection' process is started on every
  129. ; session initialization. The probability is calculated by using the following equation:
  130. @@ -1508,7 +1520,7 @@
  131. ; collection through a shell script, cron entry, or some other method.
  132. ; For example, the following script would is the equivalent of
  133. ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
  134. -; cd /path/to/sessions; find -cmin +24 | xargs rm
  135. +; find /path/to/sessions -cmin +24 | xargs rm
  136.  
  137. ; PHP 4.2 and less have an undocumented feature/bug that allows you to
  138. ; to initialize a session variable in the global scope, even when register_globals
  139. @@ -1654,7 +1666,7 @@
  140. ;mssql.max_procs = -1
  141.  
  142. ; Specify client character set.
  143. -; If empty or not set the client charset from freetds.comf is used
  144. +; If empty or not set the client charset from freetds.conf is used
  145. ; This is only used when compiled with FreeTDS
  146. ;mssql.charset = "ISO-8859-1"
  147.  
  148. @@ -1847,6 +1859,12 @@
  149. [dba]
  150. ;dba.default_handler=
  151.  
  152. +[xsl]
  153. +; Write operations from within XSLT are disabled by default.
  154. +; XSL_SECPREF_CREATE_DIRECTORY | XSL_SECPREF_WRITE_NETWORK | XSL_SECPREF_WRITE_FILE = 44
  155. +; Set it to 0 to allow all operations
  156. +;xsl.security_prefs = 44
  157. +
  158. ; Local Variables:
  159. ; tab-width: 4
  160. ; End:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement