Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [PHP]
- zend.ze1_compatibility_mode = Off
- ; Language Options
- safe_mode = Off
- engine = On
- ;short_open_tag = Off
- precision = 12
- y2k_compliance = On
- output_buffering = Off
- ;output_handler =
- zlib.output_compression = On
- ;zlib.output_compression_level = -1
- ;zlib.output_handler =
- implicit_flush = Off
- unserialize_callback_func =
- serialize_precision = 100
- ;open_basedir =
- disable_functions =
- disable_classes =
- ; Colors for Syntax Highlighting mode. Anything that's acceptable in
- ; <span style="color: ???????"> would work.
- ;highlight.string = #DD0000
- ;highlight.comment = #FF9900
- ;highlight.keyword = #007700
- ;highlight.bg = #FFFFFF
- ;highlight.default = #0000BB
- ;highlight.html = #000000
- ;ignore_user_abort = On
- ;realpath_cache_size = 16k
- ;realpath_cache_ttl = 120
- ; Miscellaneous
- expose_php = On
- ; Resource Limits
- max_execution_time = 200 ; Maximum execution time of each script, in seconds.
- max_input_time = 60 ; Maximum amount of time each script may spend parsing request data.
- ;max_input_nesting_level = 64
- memory_limit = 20M ; Maximum amount of memory a script may consume.
- ; Error handling and logging
- ; Error Level Constants:
- ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 6.0.0)
- ; E_ERROR - fatal run-time errors
- ; E_RECOVERABLE_ERROR - almost fatal run-time errors
- ; E_WARNING - run-time warnings (non-fatal errors)
- ; E_PARSE - compile-time parse errors
- ; E_NOTICE - run-time notices (these are warnings which often result
- ; from a bug in your code, but it's possible that it was
- ; intentional (e.g., using an uninitialized variable and
- ; relying on the fact it's automatically initialized to an
- ; empty string)
- ; E_STRICT - run-time notices, enable to have PHP suggest changes
- ; to your code which will ensure the best interoperability
- ; and forward compatibility of your code
- ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
- ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
- ; initial startup
- ; E_COMPILE_ERROR - fatal compile-time errors
- ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
- ; E_USER_ERROR - user-generated error message
- ; E_USER_WARNING - user-generated warning message
- ; E_USER_NOTICE - user-generated notice message
- ; E_DEPRECATED - warn about code that will not work in future versions
- ; of PHP
- ; E_USER_DEPRECATED - user-generated deprecation warnings
- ;
- ; Common Values:
- ; E_ALL & ~E_NOTICE (Show all errors, except for notices and coding standards warnings.)
- ; E_ALL & ~E_NOTICE | E_STRICT (Show all errors, except for notices)
- ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
- ; E_ALL | E_STRICT (Show all errors, warnings and notices including coding standards.)
- ; Default Value: E_ALL & ~E_NOTICE
- error_reporting = E_ALL | E_STRICT
- display_errors = On
- display_startup_errors = On
- log_errors = On
- log_errors_max_len = 0
- ignore_repeated_errors = Off
- ignore_repeated_source = Off
- report_memleaks = On
- ;report_zend_debug = 0
- track_errors = On
- html_errors = On
- ;docref_root = "/phpmanual/"
- ;docref_ext = .html
- ;error_prepend_string = "<font color=#ff0000>"
- ;error_append_string = "</font>"
- ; Log errors to specified file.
- error_log = /home/data/logs/error_php.log
- ; Log errors to syslog.
- error_log = syslog
- ; Data Handling
- ;arg_separator.output = "&"
- ;arg_separator.input = ";&"
- variables_order = "EGPCS"
- request_order = "GP"
- register_globals = Off
- register_long_arrays = Off
- register_argc_argv = On
- auto_globals_jit = On
- post_max_size = 40M
- ;magic_quotes_gpc = Off
- magic_quotes_runtime = Off
- magic_quotes_sybase = Off
- auto_prepend_file =
- auto_append_file =
- default_mimetype = "text/html"
- ;default_charset = "iso-8859-1"
- ;always_populate_raw_post_data = On
- ; Paths and Directories
- ; UNIX: "/path1:/path2"
- ;include_path = ".:/php/includes"
- doc_root = "/home/www"
- user_dir =
- extension_dir = "/usr/lib/php"
- enable_dl = On
- cgi.force_redirect = 1
- ;cgi.nph = 1
- cgi.redirect_status_env = "yes";
- cgi.fix_pathinfo=0
- ;fastcgi.impersonate = 1;
- fastcgi.logging = 1
- ;cgi.rfc2616_headers = 0
- ; File Uploads
- file_uploads = Off
- upload_tmp_dir = "/home/data/tmp"
- upload_max_filesize = 2M
- max_file_uploads = 20
- ; Fopen wrappers
- allow_url_fopen = On
- allow_url_include = Off
- ;from="john@doe.com"
- ;user_agent="PHP"
- default_socket_timeout = 60
- ;auto_detect_line_endings = Off
- [APC]
- apc.enabled = 0
- apc.shm_segments = 16 ;The number of shared memory segments to allocate for the compiler cache.
- apc.shm_size = 0.9M ;The size of each shared memory segment.
- apc.ttl=3600
- apc.user_ttl=7200
- apc.gc_ttl=3600
- apc.max_file_size=1M
- apc.stat=0
- apc.shm_strings_buffer=1M
- [Date]
- date.timezone = Europe/Moscow
- pdo_mysql.cache_size = 2000
- pdo_mysql.default_socket=
- [MySQL]
- mysqli.allow_local_infile = On
- mysqli.allow_persistent = On
- mysqli.cache_size = 2000
- mysqli.max_persistent = -1
- mysqli.max_links = -1
- mysqli.default_port = 3306
- mysqli.default_socket = /tmp/run/mysqld.sock
- mysqli.default_host = localhost
- mysqli.default_user =
- mysqli.default_password =
- mysqli.connect_timeout = 180
- mysqli.connect_timeout = 180
- mysqli.trace_mode = Off
- [Session]
- session.save_handler = files
- session.save_path = "/home/data/tmp"
- session.use_cookies = 1
- ;session.cookie_secure =
- session.use_only_cookies = 1
- session.name = PHPSESSID
- session.auto_start = 0
- session.cookie_lifetime = 0
- session.cookie_path = /
- session.cookie_domain =
- session.cookie_httponly =
- session.serialize_handler = php
- session.gc_probability = 1
- session.gc_divisor = 100
- session.gc_maxlifetime = 120
- session.bug_compat_42 = On
- session.bug_compat_warn = On
- session.referer_check =
- session.entropy_length = 0
- ;session.entropy_file = /dev/urandom
- session.entropy_file =
- ;session.entropy_length = 16
- session.cache_limiter = private
- session.cache_expire = 120
- session.use_trans_sid = 0
- session.hash_function = 1
- session.hash_bits_per_character = 4
- url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
- [soap]
- soap.wsdl_cache_enabled=0
- soap.wsdl_cache_dir="/home/data/tmp/"
- soap.wsdl_cache=3
- soap.wsdl_cache_ttl=84000
- soap.wsdl_cache_limit =15
- [ldap]
- ldap.max_links = -1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement