Studyon Minte9.com
ZCE 5.3

Study

Php.ini



* Default

register_long_arrays = Off	[Performance]
	; Disables registration of the older (and deprecated) long predefined array variables ($HTTP_*_VARS)

display_errors = Off           [Security]

log_errors = On                [Security]

output_buffering = 4096        [Performance]
	; Enabling output buffering typically results in less writes

register_argc_argv = Off       [Performance]
	; Disables registration of the somewhat redundant $argv and $argc global variables

magic_quotes_gpc = Off         [Performance]
	; Input data is no longer escaped with slashes so that it can be sent into
	; SQL databases without further manipulation.  Instead, you should use the
	; function addslashes(

variables_order = "GPCS"       [Performance]
	; The environment variables are not hashed into the $_ENV.  To access
	; environment variables, you can use getenv() instead.

error_reporting = E_ALL
	; By default, PHP suppresses errors of type E_NOTICE.  These error messages
	; are emitted for non-critical errors, but that could be a symptom of a bigger
	; problem.

allow_call_time_pass_reference = Off     [Code cleanliness]
	; It's not possible to decide to force a variable to be passed by reference
	; when calling a function.

short_open_tag = Off           [Portability]
	; Using short tags is discouraged when developing code meant for redistribution
	; since short tags may not be supported on the target server.



* Language Options

precision    =  14
	; The number of significant digits displayed in floating point numbers.

zlib.output_compression = Off
	; Transparent output compression using the zlib library

implicit_flush = Off
	; Implicit flush tells PHP to tell the output layer to flush itself
	; automatically after every output block.  This is equivalent to calling the
	; PHP function flush() after each and every call to print() or echo() and each
	; and every HTML block.  Turning this option on has serious performance
	; implications and is generally recommended for debugging purposes only.

disable_functions =
	; This directive allows you to disable certain functions for security reasons.
	; It receives a comma-delimited list of function names. This directive is
	; *NOT* affected by whether Safe Mode is turned On or Off.

disable_classes =
	; This directive allows you to disable certain classes for security reasons.
	; It receives a comma-delimited list of class names. This directive is
	; *NOT* affected by whether Safe Mode is turned On or Off.



* Resource Limits

max_execution_time = 30     
	; Maximum execution time of each script, in seconds

max_input_time = 60	
	; Maximum amount of time each script may spend parsing request data

memory_limit = 128M      
	; Maximum amount of memory a script may consume (128MB)



* Paths and Directories

doc_root =
	; The root of the PHP pages, used only if nonempty.

user_dir =
	; The directory under which PHP opens the script using /~username used only
	; if nonempty.

cgi.force_redirect = 1
	; cgi.force_redirect is necessary to provide security running PHP as a CGI under
	; most web servers.  Left undefined, PHP turns this on by default.  You can
	; turn it off here AT YOUR OWN RISK
	; **You CAN safely turn this off for IIS, in fact, you MUST.**



* File Uploads 

file_uploads = On
	; Whether to allow HTTP file uploads.

upload_tmp_dir = "c:/wamp/tmp"
	; Temporary directory for HTTP uploaded files (will use system default if not specified)

upload_max_filesize = 2M
	; Maximum allowed size for uploaded files.



* Fopen wrappers


allow_url_fopen = On
	; Whether to allow the treatment of URLs (like http:// or ftp://) as files

allow_url_include = Off
	; Whether to allow include/require to open URLs (like http:// or ftp://) as files.

default_socket_timeout = 60
	; Default timeout for socket based streams (seconds)


* Session

session.save_handler = files
	; Handler used to store/retrieve data.

session.use_cookies = 1
	; Whether to use cookies

session.use_only_cookies = 0
	; This option enables administrators to make their users invulnerable to
	; attacks which involve passing session ids in URLs; defaults to 0

session.name = PHPSESSID
	; Name of the session (used as cookie name)

session.auto_start = 0
	; Initialize session on request startup

session.cookie_lifetime = 0
	; Lifetime in seconds of cookie or, if 0, until browser is restarted

session.gc_maxlifetime = 1440
	; After this number of seconds, stored data will be seen as 'garbage' and
	; cleaned up by the garbage collection process

session.use_trans_sid = 0
	; trans sid support is disabled by default.
	; Use of trans sid may risk your users security.

* Soap

soap.wsdl_cache_enabled=1
	; Enables or disables WSDL caching feature

soap.wsdl_cache_dir="/tmp"
	; Sets the directory name where SOAP extension will put cache files

soap.wsdl_cache_ttl=86400
	; (time to live) Sets the number of second while cached file will be used 
	; instead of original one