Thread: php not giving errors
php not giving errors have changed setting in ini to
here whole ini file have tried many settings
code:[php] ;;;;;;;;;;;;;;;;;;; ; php.ini ; ;;;;;;;;;;;;;;;;;;; ; php's initialization file, called php.ini, responsible ; configuring many of aspects of php's behavior. ; php attempts find , load configuration number of locations. ; following summary of search order: ; 1. sapi module specific location. ; 2. phprc environment variable. (as of php 5.2.0) ; 3. number of predefined registry keys on windows (as of php 5.2.0) ; 4. current working directory (except cli) ; 5. web server's directory (for sapi modules), or directory of php ; (otherwise in windows) ; 6. directory --with-config-file-path compile time option, or ; windows directory (c:\windows or c:\winnt) ; see php docs more specific information. ; http://php.net/configuration.file ; syntax of file extremely simple. whitespace , lines ; beginning semicolon silently ignored (as guessed). ; section headers (e.g. [foo]) silently ignored, though ; might mean in future. ; directives following section heading [path=/www/mysite] ; apply php files in /www/mysite directory. directives ; following section heading [host=www.example.com] apply ; php files served www.example.com. directives set in these ; special sections cannot overridden user-defined ini files or ; @ runtime. currently, [path=] , [host=] sections work under ; cgi/fastcgi. ; http://php.net/ini.sections ; directives specified using following syntax: ; directive = value ; directive names *case sensitive* - foo=bar different foo=bar. ; directives variables used configure php or php extensions. ; there no name validation. if php can't find expected ; directive because not set or mistyped, default value used. ; value can string, number, php constant (e.g. e_all or m_pi), 1 ; of ini constants (on, off, true, false, yes, no , none) or expression ; (e.g. e_all & ~e_notice), quoted string ("bar"), or reference ; set variable or directive (e.g. ${foo}) ; expressions in ini file limited bitwise operators , parentheses: ; | bitwise or ; ^ bitwise xor ; & bitwise , ; ~ bitwise not ; ! boolean not ; boolean flags can turned on using values 1, on, true or yes. ; can turned off using values 0, off, false or no. ; empty string can denoted not writing after equal ; sign, or using none keyword: ; foo = ; sets foo empty string ; foo = none ; sets foo empty string ; foo = "none" ; sets foo string 'none' ; if use constants in value, , these constants belong ; dynamically loaded extension (either php extension or zend extension), ; may use these constants *after* line loads extension. ;;;;;;;;;;;;;;;;;;; ; file ; ;;;;;;;;;;;;;;;;;;; ; php comes packaged 2 ini files. 1 recommended used ; in production environments , 1 recommended used in ; development environments. ; php.ini-production contains settings hold security, performance , ; best practices @ core. please aware, these settings may break ; compatibility older or less security conscience applications. ; recommending using production ini in production , testing environments. ; php.ini-development similar production variant, except it's ; more verbose when comes errors. recommending using ; development version in development environments errors shown ; application users can inadvertently leak otherwise secure information. ;;;;;;;;;;;;;;;;;;; ; quick reference ; ;;;;;;;;;;;;;;;;;;; ; following settings different in either production ; or development versions of inis respect php's default behavior. ; please see actual settings later in document more details why ; recommend these changes in php's behavior. ; allow_call_time_pass_reference ; default value: on ; development value: off ; production value: off ; display_errors = on ; default value: on ; development value: on ; production value: on ; display_startup_errors = on ; default value: on ; development value: on ; production value: on ; error_reporting ; default value: e_all & ~e_notice ; development value: e_all | e_strict ; production value: e_all & ~e_deprecated ; html_errors = on ; default value: on ; development value: on ; production value: on ; log_errors ; default value: on ; development value: on ; production value: on ; magic_quotes_gpc ; default value: on ; development value: off ; production value: off ; max_input_time ; default value: -1 (unlimited) ; development value: 60 (60 seconds) ; production value: 60 (60 seconds) ; output_buffering ; default value: off ; development value: 4096 ; production value: 4096 ; register_argc_argv ; default value: on ; development value: off ; production value: off ; register_long_arrays ; default value: on ; development value: off ; production value: off ; request_order ; default value: none ; development value: "gp" ; production value: "gp" ; session.bug_compat_42 ; default value: on ; development value: on ; production value: off ; session.bug_compat_warn ; default value: on ; development value: on ; production value: off ; session.gc_divisor ; default value: 100 ; development value: 1000 ; production value: 1000 ; session.hash_bits_per_character ; default value: 4 ; development value: 5 ; production value: 5 ; short_open_tag ; default value: on ; development value: off ; production value: off ; track_errors ; default value: on ; development value: on ; production value: on ; url_rewriter.tags ; default value: "a=href,area=href,frame=src,form=,fieldset=" ; development value: "a=href,area=href,frame=src,input=src,form=fakeentry" ; production value: "a=href,area=href,frame=src,input=src,form=fakeentry" ; variables_order ; default value: "egpcs" ; development value: "gpcs" ; production value: "gpcs" ;;;;;;;;;;;;;;;;;;;; ; php.ini options ; ;;;;;;;;;;;;;;;;;;;; ; name user-defined php.ini (.htaccess) files. default ".user.ini" ;user_ini.filename = ".user.ini" ; disable feature set option empty value ;user_ini.filename = ; ttl user-defined php.ini files (time-to-live) in seconds. default 300 seconds (5 minutes) ;user_ini.cache_ttl = 300 ;;;;;;;;;;;;;;;;;;;; ; language options ; ;;;;;;;;;;;;;;;;;;;; ; enable php scripting language engine under apache. ; http://php.net/engine engine = on ; directive determines whether or not php recognize code between ; <? , ?> tags php source should processed such. it's been ; recommended several years not use short tag "short cut" , ; instead use full <?php , ?> tag combination. wide spread use ; of xml , use of these tags other languages, server can become ; confused , end parsing wrong code in wrong context. because ; short cut has been feature such long time, it's still ; supported backwards compatibility, recommend don't use them. ; default value: on ; development value: off ; production value: off ; http://php.net/short-open-tag short_open_tag = on ; allow asp-style <% %> tags. ; http://php.net/asp-tags asp_tags = off ; number of significant digits displayed in floating point numbers. ; http://php.net/precision precision = 14 ; enforce year 2000 compliance (will cause problems non-compliant browsers) ; http://php.net/y2k-compliance y2k_compliance = on ; output buffering mechanism controlling how output data ; (excluding headers , cookies) php should keep internally before pushing ; data client. if application's output exceeds setting, php ; send data in chunks of size specify. ; turning on setting , managing maximum buffer size can yield ; interesting side-effects depending on application , web server. ; may able send headers , cookies after you've sent output ; through print or echo. may see performance benefits if server ; emitting less packets due buffered output versus php streaming output ; gets it. on production servers, 4096 bytes setting performance ; reasons. ; note: output buffering can controlled via output buffering control ; functions. ; possible values: ; on = enabled , buffer unlimited. (use caution) ; off = disabled ; integer = enables buffer , sets maximum size in bytes. ; note: directive hardcoded off cli sapi ; default value: off ; development value: 4096 ; production value: 4096 ; http://php.net/output-buffering output_buffering = 4096 ; can redirect of output of scripts function. ; example, if set output_handler "mb_output_handler", character ; encoding transparently converted specified encoding. ; setting output handler automatically turns on output buffering. ; note: people wrote portable scripts should not depend on ini ; directive. instead, explicitly set output handler using ob_start(). ; using ini directive may cause problems unless know script ; doing. ; note: cannot use both "mb_output_handler" "ob_iconv_handler" ; , cannot use both "ob_gzhandler" , "zlib.output_compression". ; note: output_handler must empty if set 'on' !!!! ; instead must use zlib.output_handler. ; http://php.net/output-handler ;output_handler = ; transparent output compression using zlib library ; valid values option 'off', 'on', or specific buffer size ; used compression (default 4kb) ; note: resulting chunk size may vary due nature of compression. php ; outputs chunks few hundreds bytes each result of ; compression. if prefer larger chunk size better ; performance, enable output_buffering in addition. ; note: need use zlib.output_handler instead of standard ; output_handler, or otherwise output corrupted. ; http://php.net/zlib.output-compression zlib.output_compression = off ; http://php.net/zlib.output-compression-level ;zlib.output_compression_level = -1 ; cannot specify additional output handlers if zlib.output_compression ; activated here. setting same output_handler in ; different order. ; http://php.net/zlib.output-handler ;zlib.output_handler = ; implicit flush tells php tell output layer flush ; automatically after every output block. equivalent calling ; php function flush() after each , every call print() or echo() , each ; , every html block. turning option on has serious performance ; implications , recommended debugging purposes only. ; http://php.net/implicit-flush ; note: directive hardcoded on cli sapi implicit_flush = off ; unserialize callback function called (with undefined class' ; name parameter), if unserializer finds undefined class ; should instantiated. warning appears if specified function ; not defined, or if function doesn't include/implement missing class. ; set entry, if want implement such ; callback-function. unserialize_callback_func = ; when floats & doubles serialized store serialize_precision significant ; digits after floating point. default value ensures when floats ; decoded unserialize, data remain same. serialize_precision = 100 ; directive allows enable , disable warnings php issue ; if pass value reference @ function call time. passing values ; reference @ function call time deprecated feature removed ; php @ point in near future. acceptable method passing ; value reference function declaring reference in functions ; definition, not @ call time. directive not disable feature, ; determines whether php warn or not. these warnings ; should enabled in development environments only. ; default value: on (suppress warnings) ; development value: off (issue warnings) ; production value: off (issue warnings) ; http://php.net/allow-call-time-pass-reference allow_call_time_pass_reference = off ; safe mode ; http://php.net/safe-mode safe_mode = off ; default, safe mode uid compare check when ; opening files. if want relax gid compare, ; turn on safe_mode_gid. ; http://php.net/safe-mode-gid safe_mode_gid = off ; when safe_mode on, uid/gid checks bypassed when ; including files directory , subdirectories. ; (directory must in include_path or full path must ; used when including) ; http://php.net/safe-mode-include-dir safe_mode_include_dir = ; when safe_mode on, executables located in safe_mode_exec_dir ; allowed executed via exec family of functions. ; http://php.net/safe-mode-exec-dir safe_mode_exec_dir = ; setting environment variables may potential security breach. ; directive contains comma-delimited list of prefixes. in safe mode, ; user may alter environment variables names begin ; prefixes supplied here. default, users able set ; environment variables begin php_ (e.g. php_foo=bar). ; note: if directive empty, php let user modify ; environment variable! ; http://php.net/safe-mode-allowed-env-vars safe_mode_allowed_env_vars = php_ ; directive contains comma-delimited list of environment variables ; end user won't able change using putenv(). these variables ; protected if safe_mode_allowed_env_vars set allow change them. ; http://php.net/safe-mode-protected-env-vars safe_mode_protected_env_vars = ld_library_path ; open_basedir, if set, limits file operations defined directory ; , below. directive makes sense if used in per-directory ; or per-virtualhost web server configuration file. directive ; *not* affected whether safe mode turned on or off. ; http://php.net/open-basedir ;open_basedir = ; directive allows disable functions security reasons. ; receives comma-delimited list of function names. directive ; *not* affected whether safe mode turned on or off. ; http://php.net/disable-functions disable_functions = ; directive allows disable classes security reasons. ; receives comma-delimited list of class names. directive ; *not* affected whether safe mode turned on or off. ; http://php.net/disable-classes disable_classes = ; colors syntax highlighting mode. that's acceptable in ; <span style="color: ???????"> work. ; http://php.net/syntax-highlighting ;highlight.string = #dd0000 ;highlight.comment = #ff9900 ;highlight.keyword = #007700 ;highlight.bg = #ffffff ;highlight.default = #0000bb ;highlight.html = #000000 ; if enabled, request allowed complete if user aborts ; request. consider enabling if executing long requests, may end ; being interrupted user or browser timing out. php's default behavior ; disable feature. ; http://php.net/ignore-user-abort ;ignore_user_abort = on ; determines size of realpath cache used php. value should ; increased on systems php opens many files reflect quantity of ; file operations performed. ; http://php.net/realpath-cache-size ;realpath_cache_size = 16k ; duration of time, in seconds cache realpath information given ; file or directory. systems changing files, consider increasing ; value. ; http://php.net/realpath-cache-ttl ;realpath_cache_ttl = 120 ;;;;;;;;;;;;;;;;; ; miscellaneous ; ;;;;;;;;;;;;;;;;; ; decides whether php may expose fact installed on server ; (e.g. adding signature web server header). no security ; threat in way, makes possible determine whether use php ; on server or not. ; http://php.net/expose-php expose_php = on ;;;;;;;;;;;;;;;;;;; ; resource limits ; ;;;;;;;;;;;;;;;;;;; ; maximum execution time of each script, in seconds ; http://php.net/max-execution-time ; note: directive hardcoded 0 cli sapi max_execution_time = 30 ; maximum amount of time each script may spend parsing request data. it's ; idea limit time on productions servers in order eliminate unexpectedly ; long running scripts. ; note: directive hardcoded -1 cli sapi ; default value: -1 (unlimited) ; development value: 60 (60 seconds) ; production value: 60 (60 seconds) ; http://php.net/max-input-time max_input_time = 60 ; maximum input variable nesting level ; http://php.net/max-input-nesting-level ;max_input_nesting_level = 64 ; maximum amount of memory script may consume (128mb) ; http://php.net/memory-limit memory_limit = 128m ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; error handling , logging ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; directive informs php of errors, warnings , notices ; take action for. recommended way of setting values ; directive through use of error level constants , bitwise ; operators. error level constants below here convenience ; common settings , meanings. ; default, php set take action on errors, notices , warnings except ; related e_notice , e_strict, cover best practices , ; recommended coding standards in php. performance reasons, ; recommend error reporting setting. production server shouldn't wasting ; resources complaining best practices , coding standards. that's ; development servers , development settings for. ; note: php.ini-development file has setting e_all | e_strict. ; means pretty reports want during ; development , testing. ; ; error level constants: ; e_all - errors , warnings (includes e_strict of php 6.0.0) ; e_error - fatal run-time errors ; e_recoverable_error - fatal run-time errors ; e_warning - run-time warnings (non-fatal errors) ; e_parse - compile-time parse errors ; e_notice - run-time notices (these warnings result ; bug in code, it's possible ; intentional (e.g., using uninitialized variable , ; relying on fact it's automatically initialized ; empty string) ; e_strict - run-time notices, enable have php suggest changes ; code ensure best interoperability ; , forward compatibility of code ; e_core_error - fatal errors occur during php's initial startup ; e_core_warning - warnings (non-fatal errors) 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 code not work in future versions ; of php ; e_user_deprecated - user-generated deprecation warnings ; ; common values: ; e_all & ~e_notice (show errors, except notices , coding standards warnings.) ; e_all & ~e_notice | e_strict (show errors, except notices) ; e_compile_error|e_recoverable_error|e_error|e_core_error (show errors) ; e_all | e_strict (show errors, warnings , notices including coding standards.) ; default value: e_all & ~e_notice ; development value: e_all | e_strict ; production value: e_all & ~e_deprecated ; http://php.net/error-reporting error_reporting = e_all & ~e_deprecated ; directive controls whether or not , php output errors, ; notices , warnings too. error output useful during development, ; dangerous in production environments. depending on code ; triggering error, sensitive information potentially leak ; out of application such database usernames , passwords or worse. ; it's recommended errors logged on production servers rather ; having errors sent stdout. ; possible values: ; off = not display errors ; stderr = display errors stderr (affects cgi/cli binaries!) ; on or stdout = display errors stdout ; default value: on ; development value: on ; production value: off ; http://php.net/display-errors display_errors = off ; display of errors occur during php's startup sequence handled ; separately display_errors. php's default behavior suppress ; errors clients. turning display of startup errors on can useful in ; debugging configuration problems. but, it's recommended ; leave setting off on production servers. ; default value: off ; development value: on ; production value: off ; http://php.net/display-startup-errors display_startup_errors = off ; besides displaying errors, php can log errors locations such ; server-specific log, stderr, or location specified error_log ; directive found below. while errors should not displayed on productions ; servers should still monitored , logging great way that. ; default value: off ; development value: on ; production value: on ; http://php.net/log-errors log_errors = on ; set maximum length of log_errors. in error_log information source ; added. default 1024 , 0 allows not apply maximum length @ all. ; http://php.net/log-errors-max-len log_errors_max_len = 1024 ; not log repeated messages. repeated errors must occur in same file on same ; line unless ignore_repeated_source set true. ; http://php.net/ignore-repeated-errors ignore_repeated_errors = off ; ignore source of message when ignoring repeated messages. when setting ; on not log errors repeated messages different files or ; source lines. ; http://php.net/ignore-repeated-source ignore_repeated_source = off ; if parameter set off, memory leaks not shown (on ; stdout or in log). has effect in debug compile, , if ; error reporting includes e_warning in allowed list ; http://php.net/report-memleaks report_memleaks = on ; setting on default. ;report_zend_debug = 0 ; store last error/warning message in $php_errormsg (boolean). setting value ; on can assist in debugging , appropriate development servers. should ; disabled on production servers. ; default value: off ; development value: on ; production value: off ; http://php.net/track-errors track_errors = off ; turn off normal error reporting , emit xml-rpc error xml ; http://php.net/xmlrpc-errors ;xmlrpc_errors = 0 ; xml-rpc faultcode ;xmlrpc_error_number = 0 ; when php displays or logs error, has capability of inserting html ; links documentation related error. directive controls whether ; html links appear in error messages or not. performance , security ; reasons, it's recommended disable on production servers. ; note: directive hardcoded off cli sapi ; default value: on ; development value: on ; production value: off ; http://php.net/html-errors html_errors = off ; if html_errors set on php produces clickable error messages direct ; page describing error or function causing error in detail. ; can download copy of php manual http://php.net/docs ; , change docref_root base url of local copy including ; leading '/'. must specify file extension being used including ; dot. php's default behavior leave these settings empty. ; note: never use feature production boxes. ; http://php.net/docref-root ; examples ;docref_root = "/phpmanual/" ; http://php.net/docref-ext ;docref_ext = .html ; string output before error message. php's default behavior leave ; setting blank. ; http://php.net/error-prepend-string ; example: ;error_prepend_string = "<font color=#ff0000>" ; string output after error message. php's default behavior leave ; setting blank. ; http://php.net/error-append-string ; example: ;error_append_string = "</font>" ; log errors specified file. php's default behavior leave value ; empty. ; http://php.net/error-log ; example: ;error_log = php_errors.log ; log errors syslog (event log on nt, not valid in windows 95). ;error_log = syslog ;;;;;;;;;;;;;;;;; ; data handling ; ;;;;;;;;;;;;;;;;; ; separator used in php generated urls separate arguments. ; php's default setting "&". ; http://php.net/arg-separator.output ; example: ;arg_separator.output = "&" ; list of separator(s) used php parse input urls variables. ; php's default setting "&". ; note: every character in directive considered separator! ; http://php.net/arg-separator.input ; example: ;arg_separator.input = ";&" ; directive determines super global arrays registered when php ; starts up. if register_globals directive enabled, determines ; order variables populated global space. g,p,c,e & s ; abbreviations following respective super globals: get, post, cookie, ; env , server. there performance penalty paid registration of ; these arrays , because env not commonly used others, env ; not recommended on productions servers. can still access ; environment variables through getenv() should need to. ; default value: "egpcs" ; development value: "gpcs" ; production value: "gpcs"; ; http://php.net/variables-order variables_order = "gpcs" ; directive determines super global data (g,p,c,e & s) should ; registered super global array request. if so, determines ; order in data registered. values directive ; specified in same manner variables_order directive, except one. ; leaving value empty cause php use value set in ; variables_order directive. not mean leave super globals ; array request empty. ; default value: none ; development value: "gp" ; production value: "gp" ; http://php.net/request-order request_order = "gp" ; whether or not register egpcs variables global variables. may ; want turn off if don't want clutter scripts' global scope ; user data. ; should best write scripts not require ; register_globals on; using form variables globals can lead ; possible security problems, if code not thought of. ; http://php.net/register-globals register_globals = off ; determines whether deprecated long $http_*_vars type predefined variables ; registered php or not. deprecated, don't ; recommend use them. on default compatibility reasons ; not recommended on production servers. ; default value: on ; development value: off ; production value: off ; http://php.net/register-long-arrays register_long_arrays = off ; directive determines whether php registers $argv & $argc each time ; runs. $argv contains array of arguments passed php when script ; invoked. $argc contains integer representing number of arguments ; passed when script invoked. these arrays extremely ; useful when running scripts command line. when directive ; enabled, registering these variables consumes cpu cycles , memory each time ; script executed. performance reasons, feature should disabled ; on production servers. ; note: directive hardcoded on cli sapi ; default value: on ; development value: off ; production value: off ; http://php.net/register-argc-argv register_argc_argv = off ; when enabled, server , env variables created when they're first ; used (just in time) instead of when script starts. if these variables ; not used within script, having directive on result in ; performance gain. php directives register_globals, register_long_arrays, ; , register_argc_argv must disabled directive have affect. ; http://php.net/auto-globals-jit auto_globals_jit = on ; maximum size of post data php accept. ; http://php.net/post-max-size post_max_size = 8m ; magic quotes preprocessing feature of php php attempt ; escape character sequences in get, post, cookie , env data might ; otherwise corrupt data being placed in resources such databases before ; making data available you. because of character encoding issues , ; non-standard sql implementations across many databases, it's not ; possible feature 100% accurate. php's default behavior ; enable feature. recommend use escaping mechanisms ; designed database using instead of relying on ; feature. note, feature has been deprecated of php 5.3.0 , ; scheduled removal in php 6. ; default value: on ; development value: off ; production value: off ; http://php.net/magic-quotes-gpc magic_quotes_gpc = off ; magic quotes runtime-generated data, e.g. data sql, exec(), etc. ; http://php.net/magic-quotes-runtime magic_quotes_runtime = off ; use sybase-style magic quotes (escape ' '' instead of \'). ; http://php.net/magic-quotes-sybase magic_quotes_sybase = off ; automatically add files before php document. ; http://php.net/auto-prepend-file auto_prepend_file = ; automatically add files after php document. ; http://php.net/auto-append-file auto_append_file = ; default, php output character encoding using ; content-type: header. disable sending of charset, ; set empty. ; ; php's built-in default text/html ; http://php.net/default-mimetype default_mimetype = "text/html" ; php's default character set set empty. ; http://php.net/default-charset ;default_charset = "iso-8859-1" ; populate $http_raw_post_data variable. php's default behavior ; disable feature. ; http://php.net/always-populate-raw-post-data ;always_populate_raw_post_data = on ;;;;;;;;;;;;;;;;;;;;;;;;; ; paths , directories ; ;;;;;;;;;;;;;;;;;;;;;;;;; ; unix: "/path1:/path2" ;include_path = ".:/usr/share/php" ; ; windows: "\path1;\path2" ;include_path = ".;c:\php\includes" ; ; php's default setting include_path ".;/path/to/php/pear" ; http://php.net/include-path ; root of php pages, used if nonempty. ; if php not compiled force_redirect, should set doc_root ; if running php cgi under web server (other iis) ; see documentation security issues. alternate use ; cgi.force_redirect configuration below ; http://php.net/doc-root doc_root = ; directory under php opens script using /~username used ; if nonempty. ; http://php.net/user-dir user_dir = ; directory in loadable extensions (modules) reside. ; http://php.net/extension-dir ; extension_dir = "./" ; on windows: ; extension_dir = "ext" ; whether or not enable dl() function. dl() function not work ; in multithreaded servers, such iis or zeus, , automatically ; disabled on them. ; http://php.net/enable-dl enable_dl = off ; cgi.force_redirect necessary provide security running php cgi under ; web servers. left undefined, php turns on default. can ; turn off here @ own risk ; **you can safely turn off iis, in fact, must.** ; http://php.net/cgi.force-redirect ;cgi.force_redirect = 1 ; if cgi.nph enabled force cgi sent status: 200 ; every request. php's default behavior disable feature. ;cgi.nph = 1 ; if cgi.force_redirect turned on, , not running under apache or netscape ; (iplanet) web servers, may need set environment variable name php ; know ok continue execution. setting variable may ; cause security issues, know doing first. ; http://php.net/cgi.redirect-status-env ;cgi.redirect_status_env = ; ; cgi.fix_pathinfo provides *real* path_info/path_translated support cgi. php's ; previous behaviour set path_translated script_filename, , not grok ; path_info is. more information on path_info, see cgi specs. setting ; 1 cause php cgi fix paths conform spec. setting ; of 0 causes php behave before. default 1. should fix scripts ; use script_filename rather path_translated. ; http://php.net/cgi.fix-pathinfo ;cgi.fix_pathinfo=1 ; fastcgi under iis (on winnt based os) supports ability impersonate ; security tokens of calling client. allows iis define ; security context request runs under. mod_fastcgi under apache ; not support feature (03/17/2002) ; set 1 if running under iis. default zero. ; http://php.net/fastcgi.impersonate ;fastcgi.impersonate = 1; ; disable logging through fastcgi connection. php's default behavior enable ; feature. ;fastcgi.logging = 0 ; cgi.rfc2616_headers configuration option tells php type of headers ; use when sending http response code. if it's set 0 php sends status: header ; supported apache. when option set 1 php send ; rfc2616 compliant header. ; default zero. ; http://php.net/cgi.rfc2616-headers ;cgi.rfc2616_headers = 0 ;;;;;;;;;;;;;;;; ; file uploads ; ;;;;;;;;;;;;;;;; ; whether allow http file uploads. ; http://php.net/file-uploads file_uploads = on ; temporary directory http uploaded files (will use system default if not ; specified). ; http://php.net/upload-tmp-dir ;upload_tmp_dir = ; maximum allowed size uploaded files. ; http://php.net/upload-max-filesize upload_max_filesize = 2m ; maximum number of files can uploaded via single request max_file_uploads = 20 ;;;;;;;;;;;;;;;;;; ; fopen wrappers ; ;;;;;;;;;;;;;;;;;; ; whether allow treatment of urls (like http:// or ftp://) files. ; http://php.net/allow-url-fopen allow_url_fopen = on ; whether allow include/require open urls (like http:// or ftp://) files. ; http://php.net/allow-url-include allow_url_include = off ; define anonymous ftp password (your email address). php's default setting ; empty. ; http://php.net/from ;from="john@doe.com" ; define user-agent string. php's default setting empty. ; http://php.net/user-agent ;user_agent="php" ; default timeout socket based streams (seconds) ; http://php.net/default-socket-timeout default_socket_timeout = 60 ; if scripts have deal files macintosh systems, ; or running on mac , need deal files ; unix or win32 systems, setting flag cause php ; automatically detect eol character in files ; fgets() , file() work regardless of source of file. ; http://php.net/auto-detect-line-endings ;auto_detect_line_endings = off ;;;;;;;;;;;;;;;;;;;;;; ; dynamic extensions ; ;;;;;;;;;;;;;;;;;;;;;; ; if wish have extension loaded automatically, use following ; syntax: ; ; extension=modulename.extension ; ; example, on windows: ; ; extension=msql.dll ; ; ... or under unix: ; ; extension=msql.so ; ; ... or path: ; ; extension=/path/to/extension/msql.so ; ; if provide name of extension, php in ; default extension directory. ; ;;;;;;;;;;;;;;;;;;; ; module settings ; ;;;;;;;;;;;;;;;;;;; [date] ; defines default timezone used date functions ; http://php.net/date.timezone ;date.timezone = ; http://php.net/date.default-latitude ;date.default_latitude = 31.7667 ; http://php.net/date.default-longitude ;date.default_longitude = 35.2333 ; http://php.net/date.sunrise-zenith ;date.sunrise_zenith = 90.583333 ; http://php.net/date.sunset-zenith ;date.sunset_zenith = 90.583333 [filter] ; http://php.net/filter.default ;filter.default = unsafe_raw ; http://php.net/filter.default-flags ;filter.default_flags = [iconv] ;iconv.input_encoding = iso-8859-1 ;iconv.internal_encoding = iso-8859-1 ;iconv.output_encoding = iso-8859-1 [intl] ;intl.default_locale = ; directive allows produce php errors when error ; happens within intl functions. value level of error produced. ; default 0, not produce errors. ;intl.error_level = e_warning [sqlite] ; http://php.net/sqlite.assoc-case ;sqlite.assoc_case = 0 [sqlite3] ;sqlite3.extension_dir = [pcre] ;pcre library backtracking limit. ; http://php.net/pcre.backtrack-limit ;pcre.backtrack_limit=100000 ;pcre library recursion limit. ;please note if set value high number may consume ;the available process stack , crash php (due reaching ;stack size limit imposed operating system). ; http://php.net/pcre.recursion-limit ;pcre.recursion_limit=100000 [pdo] ; whether pool odbc connections. can 1 of "strict", "relaxed" or "off" ; http://php.net/pdo-odbc.connection-pooling ;pdo_odbc.connection_pooling=strict ;pdo_odbc.db2_instance_name [pdo_mysql] ; if mysqlnd used: number of cache slots internal result set cache ; http://php.net/pdo_mysql.cache_size pdo_mysql.cache_size = 2000 ; default socket name local mysql connects. if empty, uses built-in ; mysql defaults. ; http://php.net/pdo_mysql.default-socket pdo_mysql.default_socket= [phar] ; http://php.net/phar.readonly ;phar.readonly = on ; http://php.net/phar.require-hash ;phar.require_hash = on ;phar.cache_list = [syslog] ; whether or not define various syslog variables (e.g. $log_pid, ; $log_cron, etc.). turning off idea performance-wise. in ; runtime, can define these variables calling define_syslog_variables(). ; http://php.net/define-syslog-variables define_syslog_variables = off [mail function] ; win32 only. ; http://php.net/smtp smtp = localhost ; http://php.net/smtp-port smtp_port = 25 ; win32 only. ; http://php.net/sendmail-from ;sendmail_from = me@example.com ; unix only. may supply arguments (default: "sendmail -t -i"). ; http://php.net/sendmail-path ;sendmail_path = ; force addition of specified parameters passed parameters ; sendmail binary. these parameters replace value of ; 5th parameter mail(), in safe mode. ;mail.force_extra_parameters = ; add x-php-originating-script: include uid of script followed filename mail.add_x_header = on ; path log file log mail() calls. log entries include ; full path of script, line number, address , headers. ;mail.log = [sql] ; http://php.net/sql.safe-mode sql.safe_mode = off [odbc] ; http://php.net/odbc.default-db ;odbc.default_db = not yet implemented ; http://php.net/odbc.default-user ;odbc.default_user = not yet implemented ; http://php.net/odbc.default-pw ;odbc.default_pw = not yet implemented ; controls odbc cursor model. ; default: sql_cursor_static (default). ;odbc.default_cursortype ; allow or prevent persistent links. ; http://php.net/odbc.allow-persistent odbc.allow_persistent = on ; check connection still valid before reuse. ; http://php.net/odbc.check-persistent odbc.check_persistent = on ; maximum number of persistent links. -1 means no limit. ; http://php.net/odbc.max-persistent odbc.max_persistent = -1 ; maximum number of links (persistent + non-persistent). -1 means no limit. ; http://php.net/odbc.max-links odbc.max_links = -1 ; handling of long fields. returns number of bytes variables. 0 means ; passthru. ; http://php.net/odbc.defaultlrl odbc.defaultlrl = 4096 ; handling of binary data. 0 means passthru, 1 return is, 2 convert char. ; see documentation on odbc_binmode , odbc_longreadlen explanation ; of odbc.defaultlrl , odbc.defaultbinmode ; http://php.net/odbc.defaultbinmode odbc.defaultbinmode = 1 ;birdstep.max_links = -1 [interbase] ; allow or prevent persistent links. ibase.allow_persistent = 1 ; maximum number of persistent links. -1 means no limit. ibase.max_persistent = -1 ; maximum number of links (persistent + non-persistent). -1 means no limit. ibase.max_links = -1 ; default database name ibase_connect(). ;ibase.default_db = ; default username ibase_connect(). ;ibase.default_user = ; default password ibase_connect(). ;ibase.default_password = ; default charset ibase_connect(). ;ibase.default_charset = ; default timestamp format. ibase.timestampformat = "%y-%m-%d %h:%m:%s" ; default date format. ibase.dateformat = "%y-%m-%d" ; default time format. ibase.timeformat = "%h:%m:%s" [mysql] ; allow accessing, php's perspective, local files load data statements ; http://php.net/mysql.allow_local_infile mysql.allow_local_infile = on ; allow or prevent persistent links. ; http://php.net/mysql.allow-persistent mysql.allow_persistent = on ; if mysqlnd used: number of cache slots internal result set cache ; http://php.net/mysql.cache_size mysql.cache_size = 2000 ; maximum number of persistent links. -1 means no limit. ; http://php.net/mysql.max-persistent mysql.max_persistent = -1 ; maximum number of links (persistent + non-persistent). -1 means no limit. ; http://php.net/mysql.max-links mysql.max_links = -1 ; default port number mysql_connect(). if unset, mysql_connect() use ; $mysql_tcp_port or mysql-tcp entry in /etc/services or ; compile-time value defined mysql_port (in order). win32 ; @ mysql_port. ; http://php.net/mysql.default-port mysql.default_port = ; default socket name local mysql connects. if empty, uses built-in ; mysql defaults. ; http://php.net/mysql.default-socket mysql.default_socket = ; default host mysql_connect() (doesn't apply in safe mode). ; http://php.net/mysql.default-host mysql.default_host = ; default user mysql_connect() (doesn't apply in safe mode). ; http://php.net/mysql.default-user mysql.default_user = ; default password mysql_connect() (doesn't apply in safe mode). ; note *bad* idea store passwords in file. ; *any* user php access can run 'echo get_cfg_var("mysql.default_password") ; , reveal password! , of course, users read access ; file able reveal password well. ; http://php.net/mysql.default-password mysql.default_password = ; maximum time (in seconds) connect timeout. -1 means no limit ; http://php.net/mysql.connect-timeout mysql.connect_timeout = 60 ; trace mode. when trace_mode active (=on), warnings table/index scans , ; sql-errors displayed. ; http://php.net/mysql.trace-mode mysql.trace_mode = off [mysqli] ; maximum number of persistent links. -1 means no limit. ; http://php.net/mysqli.max-persistent mysqli.max_persistent = -1 ; allow accessing, php's perspective, local files load data statements ; http://php.net/mysqli.allow_local_infile ;mysqli.allow_local_infile = on ; allow or prevent persistent links. ; http://php.net/mysqli.allow-persistent mysqli.allow_persistent = on ; maximum number of links. -1 means no limit. ; http://php.net/mysqli.max-links mysqli.max_links = -1 ; if mysqlnd used: number of cache slots internal result set cache ; http://php.net/mysqli.cache_size mysqli.cache_size = 2000 ; default port number mysqli_connect(). if unset, mysqli_connect() use ; $mysql_tcp_port or mysql-tcp entry in /etc/services or ; compile-time value defined mysql_port (in order). win32 ; @ mysql_port. ; http://php.net/mysqli.default-port mysqli.default_port = 3306 ; default socket name local mysql connects. if empty, uses built-in ; mysql defaults. ; http://php.net/mysqli.default-socket mysqli.default_socket = ; default host mysql_connect() (doesn't apply in safe mode). ; http://php.net/mysqli.default-host mysqli.default_host = ; default user mysql_connect() (doesn't apply in safe mode). ; http://php.net/mysqli.default-user mysqli.default_user = ; default password mysqli_connect() (doesn't apply in safe mode). ; note *bad* idea store passwords in file. ; *any* user php access can run 'echo get_cfg_var("mysqli.default_pw") ; , reveal password! , of course, users read access ; file able reveal password well. ; http://php.net/mysqli.default-pw mysqli.default_pw = ; allow or prevent reconnect mysqli.reconnect = off [mysqlnd] ; enable / disable collection of general statstics mysqlnd can ; used tune , monitor mysql operations. ; http://php.net/mysqlnd.collect_statistics mysqlnd.collect_statistics = on ; enable / disable collection of memory usage statstics mysqlnd can ; used tune , monitor mysql operations. ; http://php.net/mysqlnd.collect_memory_statistics mysqlnd.collect_memory_statistics = off ; size of pre-allocated buffer used when sending commands mysql in bytes. ; http://php.net/mysqlnd.net_cmd_buffer_size ;mysqlnd.net_cmd_buffer_size = 2048 ; size of pre-allocated buffer used reading data sent server in ; bytes. ; http://php.net/mysqlnd.net_read_buffer_size ;mysqlnd.net_read_buffer_size = 32768 [oci8] ; connection: enables privileged connections using external ; credentials (oci_sysoper, oci_sysdba) ; http://php.net/oci8.privileged-connect ;oci8.privileged_connect = off ; connection: maximum number of persistent oci8 connections per ; process. using -1 means no limit. ; http://php.net/oci8.max-persistent ;oci8.max_persistent = -1 ; connection: maximum number of seconds process allowed ; maintain idle persistent connection. using -1 means idle ; persistent connections maintained forever. ; http://php.net/oci8.persistent-timeout ;oci8.persistent_timeout = -1 ; connection: number of seconds must pass before issuing ; ping during oci_pconnect() check connection validity. when ; set 0, each oci_pconnect() cause ping. using -1 disables ; pings completely. ; http://php.net/oci8.ping-interval ;oci8.ping_interval = 60 ; connection: set user chosen connection class used ; pooled server requests oracle 11g database resident ; connection pooling (drcp). use drcp, value should set ; same string web servers running same application, ; database pool must configured, , connection string must ; specify use pooled server. ;oci8.connection_class = ; high availability: using on lets php receive fast application ; notification (fan) events generated when database node fails. ; database must configured post fan events. ;oci8.events = off ; tuning: option enables statement caching, , specifies how ; many statements cache. using 0 disables statement caching. ; http://php.net/oci8.statement-cache-size ;oci8.statement_cache_size = 20 ; tuning: enables statement prefetching , sets default number of ; rows fetched automatically after statement execution. ; http://php.net/oci8.default-prefetch ;oci8.default_prefetch = 100 ; compatibility. using on means oci_close() not close ; oci_connect() , oci_new_connect() connections. ; http://php.net/oci8.old-oci-close-semantics ;oci8.old_oci_close_semantics = off [postgressql] ; allow or prevent persistent links. ; http://php.net/pgsql.allow-persistent pgsql.allow_persistent = on ; detect broken persistent links pg_pconnect(). ; auto reset feature requires little overheads. ; http://php.net/pgsql.auto-reset-persistent pgsql.auto_reset_persistent = off ; maximum number of persistent links. -1 means no limit. ; http://php.net/pgsql.max-persistent pgsql.max_persistent = -1 ; maximum number of links (persistent+non persistent). -1 means no limit. ; http://php.net/pgsql.max-links pgsql.max_links = -1 ; ignore postgresql backends notice message or not. ; notice message logging require little overheads. ; http://php.net/pgsql.ignore-notice pgsql.ignore_notice = 0 ; log postgresql backends notice message or not. ; unless pgsql.ignore_notice=0, module cannot log notice message. ; http://php.net/pgsql.log-notice pgsql.log_notice = 0 [sybase-ct] ; allow or prevent persistent links. ; http://php.net/sybct.allow-persistent sybct.allow_persistent = on ; maximum number of persistent links. -1 means no limit. ; http://php.net/sybct.max-persistent sybct.max_persistent = -1 ; maximum number of links (persistent + non-persistent). -1 means no limit. ; http://php.net/sybct.max-links sybct.max_links = -1 ; minimum server message severity display. ; http://php.net/sybct.min-server-severity sybct.min_server_severity = 10 ; minimum client message severity display. ; http://php.net/sybct.min-client-severity sybct.min_client_severity = 10 ; set per-context timeout ; http://php.net/sybct.timeout ;sybct.timeout= ;sybct.packet_size ; maximum time in seconds wait connection attempt succeed before returning failure. ; default: 1 minute ;sybct.login_timeout= ; name of host claim connecting from, display sp_who. ; default: none ;sybct.hostname= ; allows define how deadlocks retried. -1 means "forever". ; default: 0 ;sybct.deadlock_retry_count= [bcmath] ; number of decimal digits bcmath functions. ; http://php.net/bcmath.scale bcmath.scale = 0 [browscap] ; http://php.net/browscap ;browscap = extra/browscap.ini [session] ; handler used store/retrieve data. ; http://php.net/session.save-handler session.save_handler = files ; argument passed save_handler. in case of files, path ; data files stored. note: windows users have change ; variable in order use php's session functions. ; ; path can defined as: ; ; session.save_path = "n;/path" ; ; n integer. instead of storing session files in ; /path, use subdirectories n-levels deep, , ; store session data in directories. useful if ; or os have problems lots of files in 1 directory, , ; more efficient layout servers handle lots of sessions. ; ; note 1: php not create directory structure automatically. ; can use script in ext/session dir purpose. ; note 2: see section on garbage collection below if choose ; use subdirectories session storage ; ; file storage module creates files using mode 600 default. ; can change using ; ; session.save_path = "n;mode;/path" ; ; mode octal representation of mode. note ; not overwrite process's umask. ; http://php.net/session.save-path ;session.save_path = "/tmp" ; whether use cookies. ; http://php.net/session.use-cookies session.use_cookies = 1 ; http://php.net/session.cookie-secure ;session.cookie_secure = ; option forces php fetch , use cookie storing , maintaining ; session id. encourage operation it's helpful in combatting ; session hijacking when not specifying , managing own session id. ; not end all of session hijacking defense, it's start. ; http://php.net/session.use-only-cookies session.use_only_cookies = 1 ; name of session (used cookie name). ; http://php.net/session.name session.name = phpsessid ; initialize session on request startup. ; http://php.net/session.auto-start session.auto_start = 0 ; lifetime in seconds of cookie or, if 0, until browser restarted. ; http://php.net/session.cookie-lifetime session.cookie_lifetime = 0 ; path cookie valid. ; http://php.net/session.cookie-path session.cookie_path = / ; domain cookie valid. ; http://php.net/session.cookie-domain session.cookie_domain = ; whether or not add httponly flag cookie, makes inaccessible browser scripting languages such javascript. ; http://php.net/session.cookie-httponly session.cookie_httponly = ; handler used serialize data. php standard serializer of php. ; http://php.net/session.serialize-handler session.serialize_handler = php ; defines probability 'garbage collection' process started ; on every session initialization. probability calculated using ; gc_probability/gc_divisor. session.gc_probability numerator ; , gc_divisor denominator in equation. setting value 1 ; when session.gc_divisor value 100 give approximately 1% chance ; gc run on give request. ; default value: 1 ; development value: 1 ; production value: 1 ; http://php.net/session.gc-probability session.gc_probability = 1 ; defines probability 'garbage collection' process started on every ; session initialization. probability calculated using following equation: ; gc_probability/gc_divisor. session.gc_probability numerator , ; session.gc_divisor denominator in equation. setting value 1 ; when session.gc_divisor value 100 give approximately 1% chance ; gc run on give request. increasing value 1000 give ; 0.1% chance gc run on give request. high volume production servers, ; more efficient approach. ; default value: 100 ; development value: 1000 ; production value: 1000 ; http://php.net/session.gc-divisor session.gc_divisor = 1000 ; after number of seconds, stored data seen 'garbage' , ; cleaned garbage collection process. ; http://php.net/session.gc-maxlifetime session.gc_maxlifetime = 1440 ; note: if using subdirectory option storing session files ; (see session.save_path above), garbage collection *not* ; happen automatically. need own garbage ; collection through shell script, cron entry, or other method. ; example, following script equivalent of ; setting session.gc_maxlifetime 1440 (1440 seconds = 24 minutes): ; find /path/to/sessions -cmin +24 | xargs rm ; php 4.2 , less have undocumented feature/bug allows ; initialize session variable in global scope, when register_globals ; disabled. php 4.3 , later warn you, if feature used. ; can disable feature , warning separately. @ time, ; warning displayed, if bug_compat_42 enabled. feature ; introduces serious security problems if not handled correctly. it's ; recommended not use feature on production servers. ; should enable on development servers , enable warning well. if ; not enable feature on development servers, won't warned when it's ; used , debugging errors caused can difficult track down. ; default value: on ; development value: on ; production value: off ; http://php.net/session.bug-compat-42 session.bug_compat_42 = off ; setting controls whether or not warned php when initializing ; session value global space. session.bug_compat_42 must enabled before ; these warnings can issued php. see directive above more information. ; default value: on ; development value: on ; production value: off ; http://php.net/session.bug-compat-warn session.bug_compat_warn = off ; check http referer invalidate externally stored urls containing ids. ; http_referer has contain substring session ; considered valid. ; http://php.net/session.referer-check session.referer_check = ; how many bytes read file. ; http://php.net/session.entropy-length session.entropy_length = 0 ; specified here create session id. ; http://php.net/session.entropy-file ; on systems don't have /dev/urandom /dev/arandom can used ; on windows, setting entropy_length setting activate ; windows random source (using cryptoapi) ;session.entropy_file = /dev/urandom ; set {nocache,private,public,} determine http caching aspects ; or leave empty avoid sending anti-caching headers. ; http://php.net/session.cache-limiter session.cache_limiter = nocache ; document expires after n minutes. ; http://php.net/session.cache-expire session.cache_expire = 180 ; trans sid support disabled default. ; use of trans sid may risk users security. ; use option caution. ; - user may send url contains active session id ; other person via. email/irc/etc. ; - url contains active session id may stored ; in publically accessible computer. ; - user may access site same session id ; using url stored in browser's history or bookmarks. ; http://php.net/session.use-trans-sid session.use_trans_sid = 0 ; select hash function use in generating session ids. ; possible values ; 0 (md5 128 bits) ; 1 (sha-1 160 bits) ; option may set name of hash function supported ; hash extension. list of available hashes returned hash_algos() ; function. ; http://php.net/session.hash-function session.hash_function = 0 ; define how many bits stored in each character when converting ; binary hash data readable. ; possible values: ; 4 (4 bits: 0-9, a-f) ; 5 (5 bits: 0-9, a-v) ; 6 (6 bits: 0-9, a-z, a-z, "-", ",") ; default value: 4 ; development value: 5 ; production value: 5 ; http://php.net/session.hash-bits-per-character session.hash_bits_per_character = 5 ; url rewriter urls in defined set of html tags. ; form/fieldset special; if include them here, rewriter ; add hidden <input> field info otherwise appended ; urls. if want xhtml conformity, remove form entry. ; note valid entries require "=", if no value follows. ; default value: "a=href,area=href,frame=src,form=,fieldset=" ; development value: "a=href,area=href,frame=src,input=src,form=fakeentry" ; production value: "a=href,area=href,frame=src,input=src,form=fakeentry" ; http://php.net/url-rewriter.tags url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" [mssql] ; allow or prevent persistent links. mssql.allow_persistent = on ; maximum number of persistent links. -1 means no limit. mssql.max_persistent = -1 ; maximum number of links (persistent+non persistent). -1 means no limit. mssql.max_links = -1 ; minimum error severity display. mssql.min_error_severity = 10 ; minimum message severity display. mssql.min_message_severity = 10 ; compatibility mode old versions of php 3.0. mssql.compatability_mode = off ; connect timeout ;mssql.connect_timeout = 5 ; query timeout ;mssql.timeout = 60 ; valid range 0 - 2147483647. default = 4096. ;mssql.textlimit = 4096 ; valid range 0 - 2147483647. default = 4096. ;mssql.textsize = 4096 ; limits number of records in each batch. 0 = records in 1 batch. ;mssql.batchsize = 0 ; specify how datetime , datetim4 columns returned ; on => returns data converted sql server settings ; off => returns values yyyy-mm-dd hh:mm:ss ;mssql.datetimeconvert = on ; use nt authentication when connecting server mssql.secure_connection = off ; specify max number of processes. -1 = library default ; msdlib defaults 25 ; freetds defaults 4096 ;mssql.max_procs = -1 ; specify client character set. ; if empty or not set client charset freetds.comf used ; used when compiled freetds ;mssql.charset = "iso-8859-1" [assertion] ; assert(expr); active default. ; http://php.net/assert.active ;assert.active = on ; issue php warning each failed assertion. ; http://php.net/assert.warning ;assert.warning = on ; don't bail out default. ; http://php.net/assert.bail ;assert.bail = off ; user-function called if assertion fails. ; http://php.net/assert.callback ;assert.callback = 0 ; eval expression current error_reporting(). set true if want ; error_reporting(0) around eval(). ; http://php.net/assert.quiet-eval ;assert.quiet_eval = 0 [com] ; path file containing guids, iids or filenames of files typelibs ; http://php.net/com.typelib-file ;com.typelib_file = ; allow distributed-com calls ; http://php.net/com.allow-dcom ;com.allow_dcom = true ; autoregister constants of components typlib on com_load() ; http://php.net/com.autoregister-typelib ;com.autoregister_typelib = true ; register constants casesensitive ; http://php.net/com.autoregister-casesensitive ;com.autoregister_casesensitive = false ; show warnings on duplicate constant registrations ; http://php.net/com.autoregister-verbose ;com.autoregister_verbose = true ; default character set code-page use when passing strings , com objects. ; default: system ansi code page ;com.code_page= [mbstring] ; language internal character representation. ; http://php.net/mbstring.language ;mbstring.language = japanese ; internal/script encoding. ; encoding cannot work internal encoding. ; (e.g. sjis, big5, iso-2022-*) ; http://php.net/mbstring.internal-encoding ;mbstring.internal_encoding = euc-jp ; http input encoding. ; http://php.net/mbstring.http-input ;mbstring.http_input = auto ; http output encoding. mb_output_handler must ; registered output buffer function ; http://php.net/mbstring.http-output ;mbstring.http_output = sjis ; enable automatic encoding translation according ; mbstring.internal_encoding setting. input chars ; converted internal encoding setting on. ; note: _not_ use automatic encoding translation ; portable libs/applications. ; http://php.net/mbstring.encoding-translation ;mbstring.encoding_translation = off ; automatic encoding detection order. ; auto means ; http://php.net/mbstring.detect-order ;mbstring.detect_order = auto ; substitute_character used when character cannot converted ; 1 ; http://php.net/mbstring.substitute-character ;mbstring.substitute_character = none; ; overload(replace) single byte functions mbstring functions. ; mail(), ereg(), etc overloaded mb_send_mail(), mb_ereg(), ; etc. possible values 0,1,2,4 or combination of them. ; example, 7 overload everything. ; 0: no overload ; 1: overload mail() function ; 2: overload str*() functions ; 4: overload ereg*() functions ; http://php.net/mbstring.func-overload ;mbstring.func_overload = 0 ; enable strict encoding detection. ;mbstring.strict_detection = off ; directive specifies regex pattern of content types mb_output_handler() ; activated. ; default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml) ;mbstring.http_output_conv_mimetype= ; allows set script encoding. affects if php compiled --enable-zend-multibyte ; default: "" ;mbstring.script_encoding= [gd] ; tell jpeg decode ignore warnings , try create ; gd image. warning displayed notices ; disabled default ; http://php.net/gd.jpeg-ignore-warning ;gd.jpeg_ignore_warning = 0 [exif] ; exif unicode user comments handled ucs-2be/ucs-2le , jis jis. ; mbstring support automatically converted encoding ; given corresponding encode setting. when empty mbstring.internal_encoding ; used. decode settings can distinguish between motorola , ; intel byte order. decode setting cannot empty. ; http://php.net/exif.encode-unicode ;exif.encode_unicode = iso-8859-15 ; http://php.net/exif.decode-unicode-motorola ;exif.decode_unicode_motorola = ucs-2be ; http://php.net/exif.decode-unicode-intel ;exif.decode_unicode_intel = ucs-2le ; http://php.net/exif.encode-jis ;exif.encode_jis = ; http://php.net/exif.decode-jis-motorola ;exif.decode_jis_motorola = jis ; http://php.net/exif.decode-jis-intel ;exif.decode_jis_intel = jis [tidy] ; path default tidy configuration file use when using tidy ; http://php.net/tidy.default-config ;tidy.default_config = /usr/local/lib/php/default.tcfg ; should tidy clean , repair output automatically? ; warning: not use option if generating non-html content ; such dynamic images ; http://php.net/tidy.clean-output tidy.clean_output = off [soap] ; enables or disables wsdl caching feature. ; http://php.net/soap.wsdl-cache-enabled soap.wsdl_cache_enabled=1 ; sets directory name soap extension put cache files. ; http://php.net/soap.wsdl-cache-dir soap.wsdl_cache_dir="/tmp" ; (time live) sets number of second while cached file used ; instead of original one. ; http://php.net/soap.wsdl-cache-ttl soap.wsdl_cache_ttl=86400 ; sets size of cache limit. (max. number of wsdl files cache) soap.wsdl_cache_limit = 5 [sysvshm] ; default size of shared memory segment ;sysvshm.init_mem = 10000 [ldap] ; sets maximum number of open links or -1 unlimited. ldap.max_links = -1 [mcrypt] ; more information mcrypt settings see http://php.net/mcrypt-module-open ; directory load mcrypt algorithms ; default: compiled in libmcrypt (usually /usr/local/lib/libmcrypt) ;mcrypt.algorithms_dir= ; directory load mcrypt modes ; default: compiled in libmcrypt (usually /usr/local/lib/libmcrypt) ;mcrypt.modes_dir= [dba] ;dba.default_handler= ; local variables: ; tab-width: 4 ; end:
i can see display_errors off
need change on
java tutorials
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [SOLVED] php not giving errors
Ubuntu
Comments
Post a Comment