Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- /etc/php5/apache2/php.ini 2011-02-07 17:49:41.000000000 +0000
- +++ /usr/share/php5/php.ini-production 2012-05-04 03:46:00.000000000 +0100
- @@ -317,7 +317,7 @@
- ; When floats & doubles are serialized store serialize_precision significant
- ; digits after the floating point. The default value ensures that when floats
- ; are decoded with unserialize, the data will remain the same.
- -serialize_precision = 100
- +serialize_precision = 17
- ; This directive allows you to enable and disable warnings which PHP will issue
- ; if you pass a value by reference at function call time. Passing values by
- @@ -382,7 +382,7 @@
- ; It receives a comma-delimited list of function names. This directive is
- ; *NOT* affected by whether Safe Mode is turned On or Off.
- ; http://php.net/disable-functions
- -disable_functions =
- +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,
- ; This directive allows you to disable certain classes for security reasons.
- ; It receives a comma-delimited list of class names. This directive is
- @@ -419,6 +419,10 @@
- ; http://php.net/realpath-cache-ttl
- ;realpath_cache_ttl = 120
- +; Enables or disables the circular reference collector.
- +; http://php.net/zend.enable-gc
- +zend.enable_gc = On
- +
- ;;;;;;;;;;;;;;;;;
- ; Miscellaneous ;
- ;;;;;;;;;;;;;;;;;
- @@ -453,6 +457,9 @@
- ; http://php.net/max-input-nesting-level
- ;max_input_nesting_level = 64
- +; How many GET/POST/COOKIE input variables may be accepted
- +; max_input_vars = 1000
- +
- ; Maximum amount of memory a script may consume (128MB)
- ; http://php.net/memory-limit
- memory_limit = 128M
- @@ -621,13 +628,13 @@
- ; this setting blank.
- ; http://php.net/error-prepend-string
- ; Example:
- -;error_prepend_string = "<font color=#ff0000>"
- +;error_prepend_string = "<span style='color: #ff0000'>"
- ; String to output after an error message. PHP's default behavior is to leave
- ; this setting blank.
- ; http://php.net/error-append-string
- ; Example:
- -;error_append_string = "</font>"
- +;error_append_string = "</span>"
- ; Log errors to specified file. PHP's default behavior is to leave this value
- ; empty.
- @@ -637,6 +644,11 @@
- ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
- ;error_log = syslog
- +;windows.show_crt_warning
- +; Default value: 0
- +; Development value: 0
- +; Production value: 0
- +
- ;;;;;;;;;;;;;;;;;
- ; Data Handling ;
- ;;;;;;;;;;;;;;;;;
- @@ -876,7 +888,7 @@
- ; Maximum allowed size for uploaded files.
- ; http://php.net/upload-max-filesize
- -upload_max_filesize = 20M
- +upload_max_filesize = 2M
- ; Maximum number of files that can be uploaded via a single request
- max_file_uploads = 20
- @@ -937,7 +949,6 @@
- ;
- ; If you only provide the name of the extension, PHP will look for it in its
- ; default extension directory.
- -;
- ;;;;;;;;;;;;;;;;;;;
- ; Module Settings ;
- @@ -1054,7 +1065,8 @@
- ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
- mail.add_x_header = On
- -; Log all mail() calls including the full path of the script, line #, to address and headers
- +; The path to a log file that will log all mail() calls. Log entries include
- +; the full path of the script, line number, To address and headers.
- ;mail.log =
- [SQL]
- @@ -1247,12 +1259,12 @@
- mysqli.reconnect = Off
- [mysqlnd]
- -; Enable / Disable collection of general statstics by mysqlnd which can be
- +; Enable / Disable collection of general statistics by mysqlnd which can be
- ; used to tune and monitor MySQL operations.
- ; http://php.net/mysqlnd.collect_statistics
- mysqlnd.collect_statistics = On
- -; Enable / Disable collection of memory usage statstics by mysqlnd which can be
- +; 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
- @@ -1319,7 +1331,7 @@
- ; http://php.net/oci8.old-oci-close-semantics
- ;oci8.old_oci_close_semantics = Off
- -[PostgresSQL]
- +[PostgreSQL]
- ; Allow or prevent persistent links.
- ; http://php.net/pgsql.allow-persistent
- pgsql.allow_persistent = On
- @@ -1481,7 +1493,7 @@
- ; Development Value: 1
- ; Production Value: 1
- ; http://php.net/session.gc-probability
- -session.gc_probability = 1
- +session.gc_probability = 0
- ; Defines the probability that the 'garbage collection' process is started on every
- ; session initialization. The probability is calculated by using the following equation:
- @@ -1508,7 +1520,7 @@
- ; collection through a shell script, cron entry, or some other method.
- ; For example, the following script would is the equivalent of
- ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
- -; cd /path/to/sessions; find -cmin +24 | xargs rm
- +; find /path/to/sessions -cmin +24 | xargs rm
- ; PHP 4.2 and less have an undocumented feature/bug that allows you to
- ; to initialize a session variable in the global scope, even when register_globals
- @@ -1654,7 +1666,7 @@
- ;mssql.max_procs = -1
- ; Specify client character set.
- -; If empty or not set the client charset from freetds.comf is used
- +; If empty or not set the client charset from freetds.conf is used
- ; This is only used when compiled with FreeTDS
- ;mssql.charset = "ISO-8859-1"
- @@ -1847,6 +1859,12 @@
- [dba]
- ;dba.default_handler=
- +[xsl]
- +; Write operations from within XSLT are disabled by default.
- +; XSL_SECPREF_CREATE_DIRECTORY | XSL_SECPREF_WRITE_NETWORK | XSL_SECPREF_WRITE_FILE = 44
- +; Set it to 0 to allow all operations
- +;xsl.security_prefs = 44
- +
- ; Local Variables:
- ; tab-width: 4
- ; End:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement