You cannot see this page without javascript.

2016.03.18 13:27

php.ini

조회 수 540 추천 수 0 댓글 0

PHP.ini
[PHP]
PHP-Code:

 

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

; Enforce year 2000 compliance (will cause problems with non-compliant browsers) 
y2k_compliance = On 

; Output buffering allows you to send header lines (including cookies) even 
; after you send body content, at the price of slowing PHP's output layer a 
; bit.  You can enable output buffering during runtime by calling the output 
; buffering functions.  You can also enable output buffering for all files by 
; setting this directive to On.  If you wish to limit the size of the buffer 
; to a certain size - you can use a maximum number of bytes instead of 'On', as 
; a value for this directive (e.g., output_buffering=4096). 
output_buffering = 4096 


; 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 

; Whether to enable the ability to force arguments to be passed by reference 
; at function call time.  This method is deprecated and is likely to be 
; unsupported in future versions of PHP/Zend.  The encouraged method of 
; specifying which arguments should be passed by reference is in the function 
; declaration.  You're encouraged to try and turn this option Off and make 
; sure your scripts work properly with it in order to ensure they will work 
; with future versions of the language (you will receive a warning each time 
; you use this feature, and the argument will be passed by value instead of by 
; reference). 
allow_call_time_pass_reference = Off 


; Safe Mode 

safe_mode = Off 


; open_basedir, if set, limits all file operations to the defined directory 
; and below.  This directive makes most sense if used in a per-directory 
; or per-virtualhost web server configuration file. This directive is 
; *NOT* affected by whether Safe Mode is turned On or Off. 
open_basedir = "C:inetpub" 

; 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 


; Misc 

; Decides whether PHP may expose the fact that it is installed on the server 
; (e.g. by adding its signature to the Web server header).  It is no security 
; threat in any way, but it makes it possible to determine whether you use PHP 
; on your server or not. 
expose_php = On 


;;;;;;;;;;;;;;;;;;; 
; Resource Limits ; 
;;;;;;;;;;;;;;;;;;; 

max_execution_time = 60     ; Maximum execution time of each script, in seconds 
max_input_time = 120    ; Maximum amount of time each script may spend parsing request data 
;max_input_nesting_level = 64 ; Maximum input variable nesting level 
memory_limit = 128M      ; Maximum amount of memory a script may consume (128MB) 


display_errors = Off 

 

;;;;;;;;;;;;;;;;; 
; Data Handling ; 
;;;;;;;;;;;;;;;;; 

post_max_size = 800M 

; Magic quotes 

; Magic quotes for incoming GET/POST/Cookie data. 
magic_quotes_gpc = Off 

; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc. 
magic_quotes_runtime = Off 

; Use Sybase-style magic quotes (escape ' with '' instead of '). 
magic_quotes_sybase = Off 

; Automatically add files before or after any PHP document. 
auto_prepend_file = 
auto_append_file = 

; As of 4.0b4, PHP always outputs a character encoding by default in 
; the Content-type: header.  To disable sending of the charset, simply 
; set it to be empty. 

; PHP's built-in default is text/html 
default_mimetype = "text/html" 
;default_charset = "iso-8859-1" 

 

;;;;;;;;;;;;;;;;;;;;;;;;; 
; Paths and Directories ; 
;;;;;;;;;;;;;;;;;;;;;;;;; 

; UNIX: "/path1:/path2" 
;include_path = ".:/php/includes" 

; Windows: "path1;path2" 
;include_path = ".;c:phpincludes" 

; Directory in which the loadable extensions (modules) reside. 
extension_dir = "./ext" 

; Whether or not to enable the dl() function.  The dl() function does NOT work 
; properly in multithreaded servers, such as IIS or Zeus, and is automatically 
; disabled on them. 
enable_dl = On 

; 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.** 
cgi.force_redirect = 0 


; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's 
; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok 
; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting 
; this to 1 will cause PHP CGI to fix it's paths to conform to the spec.  A setting 
; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts 
; to use SCRIPT_FILENAME rather than PATH_TRANSLATED. 
cgi.fix_pathinfo=1 

; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate 
; security tokens of the calling client.  This allows IIS to define the 
; security context that the request runs under.  mod_fastcgi under Apache 
; does not currently support this feature (03/17/2002) 
; Set to 1 if running under IIS.  Default is zero. 
fastcgi.impersonate = 1; 


;;;;;;;;;;;;;;;; 
; File Uploads ; 
;;;;;;;;;;;;;;;; 

; Whether to allow HTTP file uploads. 
file_uploads = On 

; Temporary directory for HTTP uploaded files (will use system default if not 
; specified). 
;upload_tmp_dir = C:inetpubwwwrootupload-temp 

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