- 浏览: 4399375 次
- 性别:
- 来自: 湛江
博客专栏
-
SQLite源码剖析
浏览量:80062
-
WIN32汇编语言学习应用...
浏览量:70024
-
神奇的perl
浏览量:103330
-
lucene等搜索引擎解析...
浏览量:285711
-
深入lucene3.5源码...
浏览量:15005
-
VB.NET并行与分布式编...
浏览量:67538
-
silverlight 5...
浏览量:32129
-
算法下午茶系列
浏览量:45975
文章分类
最新评论
-
yoyo837:
counters15 写道目前只支持IE吗?插件的东西是跨浏览 ...
Silverlight 5 轻松开启绚丽的网页3D世界 -
shuiyunbing:
直接在前台导出方式:excel中的单元格样式怎么处理,比如某行 ...
Flex导出Excel -
di1984HIT:
写的很好~
lucene入门-索引网页 -
rjguanwen:
在win7 64位操作系统下,pygtk的Entry无法输入怎 ...
pygtk-entry -
ldl_xz:
http://www.9958.pw/post/php_exc ...
PHPExcel常用方法汇总(转载)
PHP]
;;;;;;;;;;;
; WARNING ;
;;;;;;;;;;;
; This is the default settings file for new PHPinstallations.
; By default, PHP installs itself with a configuration suitablefor
; development purposes, and *NOT* for production purposes.
; For several security-oriented considerations that should betaken
; before going online with your site, please consultphp.ini-recommended
; and http://php.net/manual/en/security.php.
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; This file controls many aspects of PHP'sbehavior. In order for PHP to
; read it, it must be named 'php.ini'. PHP looksfor it in the current
; working directory, in the path designated by the environmentvariable
; PHPRC, and in the path that was defined in compile time (in thatorder).
; Under Windows, the compile-time path is the Windowsdirectory. The
; path in which the php.ini file is looked for can be overriddenusing
; the -c argument in command line mode.
;
; The syntax of the file is extremely simple.Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probablyguessed).
; Section headers (e.g. [Foo]) are also silently ignored, eventhough
; they might mean something in the future.
;
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different fromFOO=bar.
;
; The value can be a string, a number, a PHP constant (e.g. E_ALLor M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) oran expression
; (e.g. E_ALL & ~E_NOTICE), or a quoted string("foo").
;在ini文件本身使用的逻辑值使用的运算符
; Expressions in the INI file are limited to bitwise operators andparentheses:
;|bitwise OR
;&bitwise AND
;~bitwise NOT
;!boolean NOT
;
; Boolean flags can be turned on using the values 1, On, True orYes.
; They can be turned off using the values 0, Off, False orNo.
;
; An empty string can be denoted by simply not writing anythingafter the equal
; sign, or by using the None keyword:
;
; foo=; sets foo to an empty string
; foo =none ; setsfoo to an empty string
; foo = "none" ; sets foo tothe string 'none'
;
; If you use constants in your value, and these constants belong toa
; dynamically loaded extension (either a PHP extension or a Zendextension),
; you may only use these constants *after* the line that loads theextension.
;
;
;;;;;;;;;;;;;;;;;;;
; About this file ;
;;;;;;;;;;;;;;;;;;;
; All the values in the php.ini-dist file correspond to thebuiltin
; defaults (that is, if no php.ini is used, or if you delete theselines,
; the builtin defaults will be identical).
;;;;;;;;;;;;;;;;;;;;
; Language Options ;
;;;;;;;;;;;;;;;;;;;;
; Enable the PHP scripting language engine under Apache.
;PHP引擎是否开启
engine = On
; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
;php4.x仍在使用中,启用后,php5中可以顺利运行php4程序
zend.ze1_compatibility_mode = Off
; Allow the <? tag. Otherwise,only <?php and<script> tags are recognized.
; NOTE: Using short tags should be avoided when developingapplications or
; libraries that are meant for redistribution, or deployment onPHP
; servers which are not under your control, because short tags maynot
; be supported on the target server. For portable, redistributablecode,
; be sure not to use short tags.
;是否允许短开放标记<?标明PHP脚本
short_open_tag = On
; Allow ASP-style <% %> tags.
;是否使用asp风格的标记PHP脚本
asp_tags = Off
; The number of significant digits displayed in floating pointnumbers.
;浮点数中显示的有效数字个数
precision= 12
; Enforce year 2000 compliance (will cause problems withnon-compliant browsers)
;过时的不兼容浏览器y2k问题仍存在,如果存在则设为OFF
y2k_compliance = On
; Output buffering allows you to send header lines (includingcookies) even
; after you send body content, at the price of slowing PHP's outputlayer a
; bit. You can enable output buffering duringruntime by calling the output
; buffering functions. You can also enable outputbuffering for all files by
; setting this directive to On. If you wish tolimit the size of the buffer
; to a certain size - you can use a maximum number of bytes insteadof 'On', as
; a value for this directive (e.g., output_buffering=4096).
;启动后使用输出缓冲,PHP在脚本完成后一次发送所有输出。;
;开启后在HTTP首部已经发送后,能再发送一个cookie
output_buffering = Off
; You can redirect all of the output of your scripts to afunction. For
; example, if you set output_handler to "mb_output_handler",character
; encoding will be transparently converted to the specifiedencoding.
; Setting any output handler automatically turns on outputbuffering.
; Note: People who wrote portable scripts should not depend on thisini
;directive. Instead, explicitly set the output handler usingob_start().
;Using this ini directive may cause problems unless you know whatscript
;is doing.
; Note: You cannot use both "mb_output_handler" with"ob_iconv_handler"
;and you cannot use both "ob_gzhandler" and"zlib.output_compression".
; Note: output_handler must be empty if this is set 'On' !!!!
;Instead you must use zlib.output_handler.
;在输出返回给请求用户前,所有输出传递给一个函数,
;比如压缩所有输出output_handler ="ob_gzhandler"
;output_handler =
; Transparent output compression using the zlib library
; Valid values for this option are 'off', 'on', or a specificbuffer size
; to be used for compression (default is 4KB)
; Note: Resulting chunk size may vary due to nature of compression.PHP
;outputs chunks that are few hundreds bytes each as a resultof
;compression. If you prefer a larger chunk size for better
;performance, enable output_buffering in addition.
; Note: You need to use zlib.output_handler instead of thestandard
;output_handler, or otherwise the output will be corrupted.
;启用后输出返回给浏览器前先压缩,节省带宽和时间,使用一个特定的值表示压缩缓冲区大小
zlib.output_compression = Off
;zlib.output_compression_level = -1
; You cannot specify additional output handlers ifzlib.output_compression
; is activated here. This setting does the same as output_handlerbut in
; a different order.
;如果zlib不可用,使用指定的压缩库
;zlib.output_handler =
; Implicit flush tells PHP to tell the output layer to flushitself
; automatically after every output block. This isequivalent to calling the
; PHP function flush() after each and every call to print() orecho() and each
; and every HTML block. Turning this option onhas serious performance
; implications and is generally recommended for debugging purposesonly.
;
;启动后,每次调用print()或echo()后,以及每个嵌入的HTML块完成后,自动清除或刷新其内容的输出
;缓冲区,当某个操作很长时间时,可向用户输出状态的更新
implicit_flush = Off
; The unserialize callback function will be called (with theundefined class'
; name as parameter), if the unserializer finds an undefinedclass
; which should be instantiated.
; A warning appears if the specified function is not defined, or ifthe
; function doesn't include/implement the missing class.
; So only set this entry, if you really want to implement sucha
; callback-function.
;请求实例化一个未定义的类时,控制逆串行化器的响应。
unserialize_callback_func=
; When floats & doubles are serialized storeserialize_precision significant
; digits after the floating point. The default value ensures thatwhen 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 byreference
; at function call time. This method isdeprecated and is likely to be
; unsupported in future versions of PHP/Zend. Theencouraged method of
; specifying which arguments should be passed by reference is inthe function
; declaration. You're encouraged to try and turnthis option Off and make
; sure your scripts work properly with it in order to ensure theywill work
; with future versions of the language (you will receive a warningeach time
; you use this feature, and the argument will be passed by valueinstead of by
; reference).
;启用表示函数参数调用使用传引用,不使用传值
allow_call_time_pass_reference = On
;
; Safe Mode
;
; NOTE: this is considered a "broken" security measure.
;Applications relying on this feature will not recieve full
;support by the security team. For moreinformation please
;see /usr/share/doc/php5-common/README.Debian.security
;启用自动禁用很多功能和可能不安全的各种特性
safe_mode = Off
; By default, Safe Mode does a UID compare check when
; opening files. If you want to relax this to a GID compare,
; then turn on safe_mode_gid.
;启用打开文件时,执行GID和UID检查;禁用执行更严格的GID和UID检查
safe_mode_gid = Off
; When safe_mode is on, UID/GID checks are bypassed when
; including files from this directory and its subdirectories.
; (directory must also be in include_path or full path must
; be used when including)
;当打开文件位于指定的目录中,将忽略UID/GID的检查
safe_mode_include_dir =
; When safe_mode is on, only executables located in thesafe_mode_exec_dir
; will be allowed to be executed via the exec family offunctions.
;exec()只能执行指定目录中的文件
safe_mode_exec_dir =
; Setting certain environment variables may be a potential securitybreach.
; This directive contains a comma-delimited list ofprefixes. In Safe Mode,
; the user may only alter environment variables whose names beginwith the
; prefixes supplied here. By default, users willonly be able to set
; environment variables that begin with PHP_ (e.g.PHP_FOO=BAR).
;
; Note: If this directive is empty, PHP will letthe user modify ANY
; environment variable!
;用户通过PHP脚本能修改的操作系统级环境变量
safe_mode_allowed_env_vars = PHP_
; This directive contains a comma-delimited list of environmentvariables that
; the end user won't be able to change usingputenv(). These variables will be
; protected even if safe_mode_allowed_env_vars is set to allow tochange them.
;防止修改哪些环境变量
safe_mode_protected_env_vars = LD_LIBRARY_PATH
; open_basedir, if set, limits all file operations to the defineddirectory
; and below. This directive makes most sense ifused in a per-directory
; or per-virtualhost web server configuration file. This directiveis
; *NOT* affected by whether Safe Mode is turned On or Off.
; NOTE: this is considered a "broken" security measure.
;Applications relying on this feature will not recieve full
;support by the security team. For moreinformation please
;see /usr/share/doc/php5-common/README.Debian.security
;
;所有的文件操作限制在此目录中
;open_basedir =
; This directive allows you to disable certain functions forsecurity reasons.
; It receives a comma-delimited list of function names. Thisdirective is
; *NOT* affected by whether Safe Mode is turned On or Off.
;禁用某些默认函数
disable_functions =
; This directive allows you to disable certain classes for securityreasons.
; It receives a comma-delimited list of class names. This directiveis
; *NOT* affected by whether Safe Mode is turned On or Off.
;防止使用的类
disable_classes =
; Colors for Syntax Highlighting mode. Anythingthat's acceptable in
; <span style="color: ???????"> wouldwork.
;语法突出显示
;highlight.string = #DD0000
;highlight.comment = #FF9900
;highlight.keyword = #007700
;highlight.bg= #FFFFFF
;highlight.default = #0000BB
;highlight.html= #000000
; If enabled, the request will be allowed to complete even if theuser aborts
; the request. Consider enabling it if executing long request,which may end up
; being interrupted by the user or a browser timing out.
;用户在页面加载之前就关闭了浏览器,或在浏览某个页面时,启用后,服务器忽略这种中断造成的会
;话中断
; ignore_user_abort = On
; Determines the size of the realpath cache to be used by PHP. Thisvalue should
; be increased on systems where PHP opens many files to reflect thequantity of
; the file operations performed.
;
; realpath_cache_size=16k
; Duration of time, in seconds for which to cache realpathinformation for a given
; file or directory. For systems with rarely changing files,consider increasing this
; value.
; realpath_cache_ttl=120
;
; Misc
;
; Decides whether PHP may expose the fact that it is installed onthe server
; (e.g. by adding its signature to the Web serverheader). It is no security
; threat in any way, but it makes it possible to determine whetheryou use PHP
; on your server or not.
; 防止通过服务器签名来获得有关web服务器的信息
expose_php = On
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
;PHP脚本可以执行的时间上限
max_execution_time =30; Maximum execution time of each script, in seconds
;php脚本解析可以请求数据的时间上限
max_input_time = 60 ; Maximum amount of time each script may spendparsing request data
;PHP脚本可以分配的最大内存量
;max_input_nesting_level = 64 ; Maximum input variable nestinglevel
memory_limit =16M; Maximum amount of memory a script may consume (16MB)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; error_reporting is a bit-field. Or each numberup to get desired error
; reporting level
;E_ALL- All errors and warnings (doesn't include E_STRICT)
;E_ERROR- fatal run-time errors
; E_RECOVERABLE_ERROR - almost fatal run-timeerrors
;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 - fatalcompile-time errors
; E_COMPILE_WARNING - compile-time warnings (non-fatalerrors)
;E_USER_ERROR- user-generated error message
;E_USER_WARNING- user-generated warning message
;E_USER_NOTICE- user-generated notice message
;
; Examples:
;
; - Show all errors, except fornotices and coding standards warnings
;错误报告敏感度级别13种
;error_reporting = E_ALL & ~E_NOTICE
;
; - Show all errors, except fornotices
;
;error_reporting = E_ALL & ~E_NOTICE |E_STRICT
;
; - Show only errors
;
;error_reporting =E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
;
; - Show all errors except fornotices and coding standards warnings
;
error_reporting = E_ALL& ~E_NOTICE
; Print out errors (as a part of the output). Forproduction web sites,
; you're strongly encouraged to turn this feature off, and useerror logging
; instead (see below). Keeping display_errorsenabled on a production web site
; may reveal security information to end users, such as file pathson your Web
; server, your database schema or other information.
;
; possible values for display_errors:
;输出指定级别之上的所有错误
;Off- Do not display any errors
;stderr- Display errors to STDERR (affects only CGI/CLI binaries!)
;
;display_errors = "stderr"
;
; stdout (On) - Display errors to STDOUT
;
display_errors = On
; Even when display_errors is on, errors that occur during PHP'sstartup
; sequence are not displayed. It's stronglyrecommended to keep
; display_startup_errors off, except for when debugging.
;防止PHP启动过程中的错误显示给用户
display_startup_errors = Off
; Log errors into a log file (server-specific log, stderr, orerror_log (below))
; As stated above, you're strongly advised to use error logging inplace of
; error displaying on production web sites.
;PHP应记录哪些错误
log_errors = Off
; Set maximum length of log_errors. In error_log information aboutthe source is
; added. The default is 1024 and 0 allows to not apply any maximumlength at all.
;一条日志消息的最大长度
log_errors_max_len = 1024
; Do not log repeated messages. Repeated errors must occur in samefile on same
; line until ignore_repeated_source is set true.
;防止记录重复的错误
ignore_repeated_errors = Off
; Ignore source of message when ignoring repeated messages. Whenthis setting
; is On you will not log errors with repeated messages fromdifferent files or
; source lines.
;在防止记录重复的错误考虑错误源
ignore_repeated_source = Off
; If this parameter is set to Off, then memory leaks will not beshown (on
; stdout or in the log). This has only effect in a debug compile,and if
; error reporting includes E_WARNING in the allowed list
;显示和记录内存泄露
report_memleaks = On
;report_zend_debug = 0
; Store the last error/warning message in $php_errormsg(boolean).
;$php_errormsg存最近的错误
track_errors = Off
; Disable the inclusion of HTML tags in error messages.
; Note: Never use this feature for production boxes.
;是否把错误消息包围在HTML标记内
;html_errors = Off
; If html_errors is set On PHP produces clickable error messagesthat direct
; to a page describing the error or function causing the error indetail.
; You can download a copy of the PHP manual fromhttp://www.php.net/docs.php
; and change docref_root to the base URL of your local copyincluding the
; leading '/'. You must also specify the file extension being usedincluding
; the dot.
; Note: Never use this feature for production boxes.
;启用html_errors,PHP会包括一个指向错误详细描述(官方手册)的链接,如果启用本项,
;则指定本地手册的位置
;docref_root = "/phpmanual/"
;PHP
;启用PHP本地手册的扩展名
;docref_ext = .html
; String to output before an error message.
;希望在输出错误之前向用户传递附加的信息
;error_prepend_string = "<fontcolor=ff0000>"
; String to output after an error message.
;希望在输出错误之后向用户传递附加的信息
;error_append_string ="</font>"
; Log errors to specified file.
;错误日志的文件
;error_log = filename
; Log errors to syslog (Event Log on NT, not valid in Windows95).
;记录在WIN的事件日志中
;error_log = syslog
;;;;;;;;;;;;;;;;;
; Data Handling ;
;;;;;;;;;;;;;;;;;
;
; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
; The separator used in PHP generated URLs to separatearguments.
; Default is "&".
;PHP自动生成URL,并使用标准的&符号分隔输入变量,使用这个指令改变这个约定。
;arg_separator.output = "&"
; List of separator(s) used by PHP to parse input URLs intovariables.
; Default is "&".
; NOTE: Every character in this directive is considered asseparator!
;&是POST或GET方法用来分隔输入变量的标准字符,可使用此指令改变分隔符
;arg_separator.input = ";&"
; This directive describes the order in which PHP registers GET,POST, Cookie,
; Environment and Built-in variables (G, P, C, E &S respectively, often
; referred to as EGPCS or GPC). Registration isdone from left to right, newer
; values override older values.
;GET, POST, Cookie和SERVER变量的解析顺序
variables_order = "EGPCS"
; Whether or not to register the EGPCS variables as globalvariables. You may
; want to turn this off if you don't want to clutter your scripts'global scope
; with user data. This makes most sense whencoupled with track_vars - in which
; case you can access all of the GPC variables through the$HTTP_*_VARS[],
; variables.
;
; You should do your best to write your scripts so that they do notrequire
; register_globals to be on; Using form variablesas globals can easily lead
; to possible security problems, if the code is not very wellthought of.
; NOTE: applications relying on this feature will not recievefull
;support by the security team. For moreinformation please
;see /usr/share/doc/php5-common/README.Debian.security
;所有GET, POST, Cookie和SERVER变量都是全局变量,能在全局范围内进行修改,禁用后,可加强安全性
;这些变量虽然 在全局范围内,但必须与其类型一起引用。
register_globals = Off
; Whether or not to register the old-style input arrays,HTTP_GET_VARS
; and friends. If you're not using them, it'srecommended to turn them off,
; for performance reasons.
;是否使用已经废弃的语法
register_long_arrays = On
; This directive tells PHP whether to declare theargv&argc variables (that
; would contain the GET information). If youdon't use these variables, you
; should turn it off for increased performance.
;启用后通过GET方法传入信息,可使用argc(参数个数)和argv(参数数组)功能
register_argc_argv = On
; When enabled, the SERVER and ENV variables are created whenthey're first
; used (Just In Time) instead of when the script starts. If thesevariables
; are not used within a script, having this directive on willresult in a
; performance gain. The PHP directives register_globals,register_long_arrays,
; and register_argc_argv must be disabled for this directive tohave any affect.
;
auto_globals_jit = On
; Maximum size of POST data that PHP will accept.
;对以POST方式传输大量数据,对PHP脚本传递的数据量加一个上限
post_max_size = 8M
; Magic quotes
;
; Magic quotes for incoming GET/POST/Cookie data.
;对GET、POST和cookie方法传输的数据启用魔法引号,所有单引号、双引号、反斜线和空字符
;使用反斜线自动转义
magic_quotes_gpc = On
; Magic quotes for runtime-generated data, e.g. data from SQL, fromexec(), 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.
;在php脚本执行前,要创建页眉模板或导入代码库,通常使用include()或require()函数来完成,
;可指定文件名和相应的路径,自动完成此过程
auto_prepend_file =
;在脚本执行后自动插入页脚模板
auto_append_file =
; As of 4.0b4, PHP always outputs a character encoding by defaultin
; the Content-type: header. To disable sending ofthe charset, simply
; set it to be empty.
;
; PHP's built-in default is text/html
;通过PHP应用程序可提供任何文件类型,如果说以其他方式PHP,如是使用用WML,则相应改变MIME类型
default_mimetype = "text/html"
;应用程序支持语言
;default_charset = "iso-8859-1"
; Always populate the $HTTP_RAW_POST_DATA variable.
;使PHP为变量@HTTP_RAW_POST_DATA赋一个串,以POST方式传递的名/值对时,即使表单变量没有相应的值
;always_populate_raw_post_data = On
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
;函数使用的基本路径
; UNIX: "/path1:/path2"
;include_path = ".:/usr/share/php"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
; The root of the PHP pages, used only if nonempty.
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD setdoc_root
; if you are running php as a CGI under any web server (other thanIIS)
; see documentation for security issues. Thealternate is to use the
; cgi.force_redirect configuration below
;PHP脚本的默认位置
doc_root =
; The directory under which PHP opens the script using /~usernameused only
; if nonempty.
;PHP所使用的绝对目录
user_dir =
; Directory in which the loadable extensions (modules) reside.
;PHP可加载的扩展包的位置
; extension_dir = "./"
; Whether or not to enable the dl() function. Thedl() function does NOT work
; properly in multithreaded servers, such as IIS or Zeus, and isautomatically
; disabled on them.
; NOTE: this is a potential security hole and is disabled bydefault in debian
;允许用户在运行时加载PHP扩展包,即脚本执行期间加载
enable_dl = Off
; cgi.force_redirect is necessary to provide security running PHPas a CGI under
; most web servers. Left undefined, PHP turnsthis 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 = 1
; if cgi.nph is enabled it will force cgi to always sent Status:200 with
; every request.
; cgi.nph = 1
; if cgi.force_redirect is turned on, and you are not running underApache or Netscape
; (iPlanet) web servers, you MAY need to set an environmentvariable name that PHP
; will look for to know it is OK to continueexecution. Setting this variable MAY
; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
; cgi.redirect_status_env = ;
; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATEDsupport 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 onPATH_INFO, see the cgi specs. Setting
; this to 1 will cause PHP CGI to fix it's paths to conform to thespec. A setting
; of zero causes PHP to behave as before. Defaultis 1. You should fix your scripts
; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
; cgi.fix_pathinfo=0
; FastCGI under IIS (on WINNT based OS) supports the ability toimpersonate
; security tokens of the calling client. Thisallows 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 iszero.
; fastcgi.impersonate = 1;
; Disable logging through FastCGI connection
; fastcgi.logging = 0
; cgi.rfc2616_headers configuration option tells PHP what type ofheaders to
; use when sending HTTP response code. If it's set 0 PHP sendsStatus: header that
; is supported by Apache. When this option is set to 1 PHP willsend
; RFC2616 compliant header.
; Default is zero.
;cgi.rfc2616_headers = 0
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
;是否启用PHP文件上传功能
file_uploads = On
; Temporary directory for HTTP uploaded files (will use systemdefault if not
; specified).
;指定文件上传所有的目录
;upload_tmp_dir =
; Maximum allowed size for uploaded files.
;设置PHP上传机制所处理的文件大小上限
upload_max_filesize = 2M
;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;
; Whether to allow the treatment of URLs (like http:// or ftp://)as files.
;PHP把远程文件看作是本地文件
allow_url_fopen = On
; Whether to allow include/require to open URLs (like http:// orftp://) as files.
allow_url_include = Off
; Define the anonymous ftp password (your email address)
;用于完成FTP连接的匿名用户密码
;from="john@doe.com"
; Define the User-Agent string
;PHP会所所处理的输出发送一个内容首部,其中包含一个用户代码属性
; user_agent="PHP"
; Default timeout for socket based streams (seconds)
;基于套接字的超时值
default_socket_timeout = 60
; If your scripts have to deal with files from Macintoshsystems,
; or you are running on a Mac and need to deal with filesfrom
; unix or win32 systems, setting this flag will cause PHP to
; automatically detect the EOL character in those files sothat
; fgets() and file() will work regardless of the source of thefile.
;fgets() and file()确定fgets()和file()读取的数据使用的是哪种文件约定
; auto_detect_line_endings = Off
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;动态扩展包
; If you wish to have an extension loaded automatically, use thefollowing
; syntax:
;
;extension=modulename.extension
;
; For example, on Windows:
;
; extension=msql.dll
;
; ... or under UNIX:
;
; extension=msql.so
;
; Note that it should be the name of the module only; no directoryinformation
; needs to go here. Specify the location of theextension with the
; extension_dir directive above.
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
[Date]
; Defines the default timezone used by the date functions
;
;date.timezone =
;date.default_latitude = 31.7667
;date.default_longitude = 35.2333
;date.sunrise_zenith = 90.583333
;date.sunset_zenith = 90.583333
[filter]
;filter.default = unsafe_raw
;filter.default_flags =
[iconv]
;iconv.input_encoding = ISO-8859-1
;iconv.internal_encoding = ISO-8859-1
;iconv.output_encoding = ISO-8859-1
[sqlite]
;sqlite.assoc_case = 0
[xmlrpc]
;xmlrpc_error_number = 0
;xmlrpc_errors = 0
[Pcre]
;PCRE library backtracking limit.
;pcre.backtrack_limit=100000
;PCRE library recursion limit.
;Please note that if you set this value to a high number you mayconsume all
;the available process stack and eventually crash PHP (due toreaching the
;stack size limit imposed by the Operating System).
;pcre.recursion_limit=100000
[Syslog]
; Whether or not to define the various syslog variables (e.g.$LOG_PID,
; $LOG_CRON, etc.). Turning it off is a good ideaperformance-wise. In
; runtime, you can define these variables by callingdefine_syslog_variables().
define_syslog_variables = Off
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
;sendmail_from = me@example.com
; For Unix only. You may supply arguments as well(default: "sendmail -t -i").
;sendmail_path =
; Force the addition of the specified parameters to be passed asextra parameters
; to the sendmail binary. These parameters will always replace thevalue of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
[SQL]
sql.safe_mode = Off
[ODBC]
;odbc.default_db= Not yet implemented
;odbc.default_user = Not yetimplemented
;odbc.default_pw= Not yet implemented
; Allow or prevent persistent links.
odbc.allow_persistent = On
; Check that a connection is still valid before reuse.
odbc.check_persistent = On
; Maximum number of persistent links. -1 means nolimit.
odbc.max_persistent = -1
; Maximum number of links (persistent +non-persistent). -1 means no limit.
odbc.max_links = -1
; Handling of LONG fields. Returns number ofbytes to variables. 0 means
; passthru.
odbc.defaultlrl = 4096
; Handling of binary data. 0 means passthru, 1return as is, 2 convert to char.
; See the documentation on odbc_binmode and odbc_longreadlen for anexplanation
; of uodbc.defaultlrl and uodbc.defaultbinmode
odbc.defaultbinmode = 1
[MySQL]
; Allow or prevent persistent links.
mysql.allow_persistent = On
; Maximum number of persistent links. -1 means nolimit.
mysql.max_persistent = -1
; Maximum number of links (persistent +non-persistent). -1 means no limit.
mysql.max_links = -1
; Default port number for mysql_connect(). Ifunset, mysql_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services orthe
; compile-time value defined MYSQL_PORT (in thatorder). Win32 will only look
; at MYSQL_PORT.
mysql.default_port =
; Default socket name for local MySQL connects.If empty, uses the built-in
; MySQL defaults.
mysql.default_socket =
; Default host for mysql_connect() (doesn't apply in safemode).
mysql.default_host =
; Default user for mysql_connect() (doesn't apply in safemode).
mysql.default_user =
; Default password for mysql_connect() (doesn't apply in safemode).
; Note that this is generally a *bad* idea to store passwords inthis file.
; *Any* user with PHP access can run 'echoget_cfg_var("mysql.default_password")
; and reveal this password! And of course, anyusers with read access to this
; file will be able to reveal the password as well.
mysql.default_password =
; Maximum time (in seconds) for connect timeout. -1 means nolimit
mysql.connect_timeout = 60
; Trace mode. When trace_mode is active (=On), warnings fortable/index scans and
; SQL-Errors will be displayed.
mysql.trace_mode = Off
[MySQLi]
; Maximum number of links. -1 means nolimit.
mysqli.max_links = -1
; Default port number for mysqli_connect(). Ifunset, mysqli_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services orthe
; compile-time value defined MYSQL_PORT (in thatorder). Win32 will only look
; at MYSQL_PORT.
mysqli.default_port = 3306
; Default socket name for local MySQL connects.If empty, uses the built-in
; MySQL defaults.
mysqli.default_socket =
; Default host for mysql_connect() (doesn't apply in safemode).
mysqli.default_host =
; Default user for mysql_connect() (doesn't apply in safemode).
mysqli.default_user =
; Default password for mysqli_connect() (doesn't apply in safemode).
; Note that this is generally a *bad* idea to store passwords inthis file.
; *Any* user with PHP access can run 'echoget_cfg_var("mysqli.default_pw")
; and reveal this password! And of course, anyusers with read access to this
; file will be able to reveal the password as well.
mysqli.default_pw =
; Allow or prevent reconnect
mysqli.reconnect = Off
[mSQL]
; Allow or prevent persistent links.
msql.allow_persistent = On
; Maximum number of persistent links. -1 means nolimit.
msql.max_persistent = -1
; Maximum number of links (persistent+nonpersistent). -1 means no limit.
msql.max_links = -1
[OCI8]
; enables privileged connections using external credentials(OCI_SYSOPER, OCI_SYSDBA)
;oci8.privileged_connect = Off
; Connection: The maximum number of persistent OCI8 connectionsper
; process. Using -1 means no limit.
;oci8.max_persistent = -1
; Connection: The maximum number of seconds a process is allowedto
; maintain an idle persistent connection. Using -1 means idle
; persistent connections will be maintained forever.
;oci8.persistent_timeout = -1
; Connection: The number of seconds that must pass before issuinga
; ping during oci_pconnect() to check the connection validity.When
; set to 0, each oci_pconnect() will cause a ping. Using -1disables
; pings completely.
;oci8.ping_interval = 60
; Tuning: This option enables statement caching, and specifieshow
; many statements to cache. Using 0 disables statementcaching.
;oci8.statement_cache_size = 20
; Tuning: Enables statement prefetching and sets the default numberof
; rows that will be fetched automatically after statementexecution.
;oci8.default_prefetch = 10
; Compatibility. Using On means oci_close() will not close
; oci_connect() and oci_new_connect() connections.
;oci8.old_oci_close_semantics = Off
[PostgresSQL]
; Allow or prevent persistent links.
pgsql.allow_persistent = On
; Detect broken persistent links always with pg_pconnect().
; Auto reset feature requires a little overheads.
pgsql.auto_reset_persistent = Off
; Maximum number of persistent links. -1 means nolimit.
pgsql.max_persistent = -1
; Maximum number of links (persistent+nonpersistent). -1 means no limit.
pgsql.max_links = -1
; Ignore PostgreSQL backends Notice message or not.
; Notice message logging require a little overheads.
pgsql.ignore_notice = 0
; Log PostgreSQL backends Noitce message or not.
; Unless pgsql.ignore_notice=0, module cannot log noticemessage.
pgsql.log_notice = 0
[Sybase]
; Allow or prevent persistent links.
sybase.allow_persistent = On
; Maximum number of persistent links. -1 means nolimit.
sybase.max_persistent = -1
; Maximum number of links (persistent +non-persistent). -1 means no limit.
sybase.max_links = -1
;sybase.interface_file = "/usr/sybase/interfaces"
; Minimum error severity to display.
sybase.min_error_severity = 10
; Minimum message severity to display.
sybase.min_message_severity = 10
; Compatibility mode with old versions of PHP 3.0.
; If on, this will cause PHP to automatically assign types toresults according
; to their Sybase type, instead of treating them all asstrings. This
; compatibility mode will probably not stay around forever, so tryapplying
; whatever necessary changes to your code, and turn it off.
sybase.compatability_mode = Off
[Sybase-CT]
; Allow or prevent persistent links.
sybct.allow_persistent = On
; Maximum number of persistent links. -1 means nolimit.
sybct.max_persistent = -1
; Maximum number of links (persistent +non-persistent). -1 means no limit.
sybct.max_links = -1
; Minimum server message severity to display.
sybct.min_server_severity = 10
; Minimum client message severity to display.
sybct.min_client_severity = 10
[bcmath]
; Number of decimal digits for all bcmath functions.
bcmath.scale = 0
[browscap]
;browscap = extra/browscap.ini
[Informix]
; Default host for ifx_connect() (doesn't apply in safemode).
ifx.default_host =
; Default user for ifx_connect() (doesn't apply in safemode).
ifx.default_user =
; Default password for ifx_connect() (doesn't apply in safemode).
ifx.default_password =
; Allow or prevent persistent links.
ifx.allow_persistent = On
; Maximum number of persistent links. -1 means nolimit.
ifx.max_persistent = -1
; Maximum number of links (persistent +non-persistent). -1 means no limit.
ifx.max_links = -1
; If on, select statements return the contents of a text blobinstead of its id.
ifx.textasvarchar = 0
; If on, select statements return the contents of a byte blobinstead of its id.
ifx.byteasvarchar = 0
; Trailing blanks are stripped from fixed-length charcolumns. May help the
; life of Informix SE users.
ifx.charasvarchar = 0
; If on, the contents of text and byte blobs are dumped to a fileinstead of
; keeping them in memory.
ifx.blobinfile = 0
; NULL's are returned as empty strings, unless this is set to1. In that case,
; NULL's are returned as string 'NULL'.
ifx.nullformat = 0
[Session]
; Handler used to store/retrieve data.
session.save_handler = files
; Argument passed to save_handler. In the case offiles, this is the path
; where data files are stored. Note: Windows users have to changethis
; variable in order to use PHP's session functions.
;
; As of PHP 4.0.1, you can define the path as:
;
;session.save_path = "N;/path"
;
; where N is an integer. Instead of storing allthe session files in
; /path, what this will do is use subdirectories N-levels deep,and
; store the session data in those directories.This is useful if you
; or your OS have problems with lots of files in one directory, andis
; a more efficient layout for servers that handle lots ofsessions.
;
; NOTE 1: PHP will not create this directory structureautomatically.
;You can use the script in the ext/session dir for thatpurpose.
; NOTE 2: See the section on garbage collection below if you chooseto
;use subdirectories for session storage
;
; The file storage module creates files using mode 600 bydefault.
; You can change that by using
;
;session.save_path = "N;MODE;/path"
;
; where MODE is the octal representation of the mode. Note thatthis
; does not overwrite the process's umask.
;session.save_path = /var/lib/php5
; Whether to use cookies.
session.use_cookies = 1
;session.cookie_secure =
; This option enables administrators to make their usersinvulnerable to
; attacks which involve passing session ids in URLs; defaults to0.
; session.use_only_cookies = 1
; Name of the session (used as cookie name).
session.name = PHPSESSID
; Initialize session on request startup.
session.auto_start = 0
; Lifetime in seconds of cookie or, if 0, until browser isrestarted.
session.cookie_lifetime = 0
; The path for which the cookie is valid.
session.cookie_path = /
; The domain for which the cookie is valid.
session.cookie_domain =
; Whether or not to add the httpOnly flag to the cookie, whichmakes it inaccessible to browser scripting languages such asJavaScript.
session.cookie_httponly =
; Handler used to serialize data. php is thestandard serializer of PHP.
session.serialize_handler = php
; Define the probability that the 'garbage collection' process isstarted
; on every session initialization.
; The probability is calculated by usinggc_probability/gc_divisor,
; e.g. 1/100 means there is a 1% chance that the GC processstarts
; on each request.
; This is disabled in the Debian packages, due to the strictpermissions
; on /var/lib/php5. Instead of setting this here,see the cronjob at
; /etc/cron.d/php5, which uses the session.gc_maxlifetime settingbelow
;session.gc_probability = 0
session.gc_divisor= 100
; After this number of seconds, stored data will be seen as'garbage' and
; cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440
; NOTE: If you are using the subdirectory option for storingsession files
;(see session.save_path above), then garbage collection does*not*
;happen automatically. You will need to do yourown garbage
;collection through a shell script, cron entry, or some othermethod.
;For example, the following script would is the equivalent of
;setting session.gc_maxlifetime to 1440 (1440 seconds = 24minutes):
;cd /path/to/sessions; find -cmin +24 | xargs rm
; PHP 4.2 and less have an undocumented feature/bug that allows youto
; to initialize a session variable in the global scope, albeitregister_globals
; is disabled. PHP 4.3 and later will warn you,if this feature is used.
; You can disable the feature and the warning separately. At thistime,
; the warning is only displayed, if bug_compat_42 is enabled.
session.bug_compat_42 = 1
session.bug_compat_warn = 1
; Check HTTP Referer to invalidate externally stored URLscontaining ids.
; HTTP_REFERER has to contain this substring for the session tobe
; considered as valid.
session.referer_check =
; How many bytes to read from the file.
session.entropy_length = 0
; Specified here to create the session id.
session.entropy_file =
;session.entropy_length = 16
;session.entropy_file = /dev/urandom
; Set to {nocache,private,public,} to determine HTTP cachingaspects
; or leave this empty to avoid sending anti-caching headers.
session.cache_limiter = nocache
; Document expires after n minutes.
session.cache_expire = 180
; trans sid support is disabled by default.
; Use of trans sid may risk your users security.
; Use this option with caution.
; - User may send URL contains active session ID
; to other person via.email/irc/etc.
; - URL that contains active session ID may be stored
; in publically accessiblecomputer.
; - User may access your site with the same session ID
; always using URL stored inbrowser's history or bookmarks.
session.use_trans_sid = 0
; Select a hash function
; 0: MD5 (128 bits)
; 1: SHA-1 (160 bits)
session.hash_function = 0
; Define how many bits are stored in each character whenconverting
; the binary hash data to something readable.
;
; 4 bits: 0-9, a-f
; 5 bits: 0-9, a-v
; 6 bits: 0-9, a-z, A-Z, "-", ","
session.hash_bits_per_character = 4
; The URL rewriter will look for URLs in a defined set of HTMLtags.
; form/fieldset are special; if you include them here, the rewriterwill
; add a hidden <input> field with theinfo which is otherwise appended
; to URLs. If you want XHTML conformity, removethe form entry.
; Note that all valid entries require a "=", even if no valuefollows.
url_rewriter.tags ="a=href,area=href,frame=src,input=src,form=,fieldset="
[MSSQL]
; Allow or prevent persistent links.
mssql.allow_persistent = On
; Maximum number of persistent links. -1 means nolimit.
mssql.max_persistent = -1
; Maximum number of links (persistent+nonpersistent). -1 means no limit.
mssql.max_links = -1
; Minimum error severity to display.
mssql.min_error_severity = 10
; Minimum message severity to display.
mssql.min_message_severity = 10
; Compatibility mode with 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 the number of records in each batch. 0 =all records in one batch.
;mssql.batchsize = 0
; Specify how datetime and datetim4 columns are returned
; On => Returns data converted to SQL serversettings
; Off => Returns values as YYYY-MM-DD hh:mm:ss
;mssql.datetimeconvert = On
; Use NT authentication when connecting to the server
mssql.secure_connection = Off
; Specify max number of processes. -1 = library default
; msdlib defaults to 25
; FreeTDS defaults to 4096
;mssql.max_procs = -1
; Specify client character set.
; If empty or not set the client charset from freetds.comf isused
; This is only used when compiled with FreeTDS
;mssql.charset = "ISO-8859-1"
[Assertion]
; Assert(expr); active by default.
;assert.active = On
; Issue a PHP warning for each failed assertion.
;assert.warning = On
; Don't bail out by default.
;assert.bail = Off
; User-function to be called if an assertion fails.
;assert.callback = 0
; Eval the expression with currenterror_reporting(). Set to true if you want
; error_reporting(0) around the eval().
;assert.quiet_eval = 0
[COM]
; path to a file containing GUIDs, IIDs or filenames of files withTypeLibs
;com.typelib_file =
; allow Distributed-COM calls
;com.allow_dcom = true
; autoregister constants of a components typlib on com_load()
;com.autoregister_typelib = true
; register constants casesensitive
;com.autoregister_casesensitive = false
; show warnings on duplicate constant registrations
;com.autoregister_verbose = true
[mbstring]
; language for internal character representation.
;mbstring.language = Japanese
; internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. SJIS, BIG5, ISO-2022-*)
;mbstring.internal_encoding = EUC-JP
; http input encoding.
;mbstring.http_input = auto
; http output encoding. mb_output_handler must be
; registered as output buffer to function
;mbstring.http_output = SJIS
; enable automatic encoding translation according to
; mbstring.internal_encoding setting. Input chars are
; converted to internal encoding by setting this to On.
; Note: Do _not_ use automatic encoding translation for
;portable libs/applications.
;mbstring.encoding_translation = Off
; automatic encoding detection order.
; auto means
;mbstring.detect_order = auto
; substitute_character used when character cannot beconverted
; one from another
;mbstring.substitute_character = none;
; overload(replace) single byte functions by mbstringfunctions.
; mail(), ereg(), etc are overloaded by mb_send_mail(),mb_ereg(),
; etc. Possible values are 0,1,2,4 or combination of them.
; For example, 7 for overload everything.
; 0: No overload
; 1: Overload mail() function
; 2: Overload str*() functions
; 4: Overload ereg*() functions
;mbstring.func_overload = 0
[FrontBase]
;fbsql.allow_persistent = On
;fbsql.autocommit = On
;fbsql.show_timestamp_decimals = Off
;fbsql.default_database =
;fbsql.default_database_password =
;fbsql.default_host =
;fbsql.default_password =
;fbsql.default_user = "_SYSTEM"
;fbsql.generate_warnings = Off
;fbsql.max_connections = 128
;fbsql.max_links = 128
;fbsql.max_persistent = -1
;fbsql.max_results = 128
[gd]
; Tell the jpeg decode to libjpeg warnings and try to create
; a gd image. The warning will then be displayed as notices
; disabled by default
;gd.jpeg_ignore_warning = 0
[exif]
; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JISas JIS.
; With mbstring support this will automatically be converted intothe encoding
; given by corresponding encode setting. When emptymbstring.internal_encoding
; is used. For the decode settings you can distinguish betweenmotorola and
; intel byte order. A decode setting cannot be empty.
;exif.encode_unicode = ISO-8859-15
;exif.decode_unicode_motorola = UCS-2BE
;exif.decode_unicode_intel= UCS-2LE
;exif.encode_jis =
;exif.decode_jis_motorola = JIS
;exif.decode_jis_intel= JIS
[Tidy]
; The path to a default tidy configuration file to use when usingtidy
;tidy.default_config = /usr/local/lib/php/default.tcfg
; Should tidy clean and repair output automatically?
; WARNING: Do not use this option if you are generating non-htmlcontent
; such as dynamic images
tidy.clean_output = Off
[soap]
; Enables or disables WSDL caching feature.
soap.wsdl_cache_enabled=1
; Sets the directory name where SOAP extension will put cachefiles.
soap.wsdl_cache_dir="/tmp"
; (time to live) Sets the number of second while cached file willbe used
; instead of original one.
soap.wsdl_cache_ttl=86400
; Local Variables:
; tab-width: 4
; End:
发表评论
-
Firebug-firefox下的编辑JS的利器
2013-02-10 18:54 4700Firebug是一个Firefox插件,集HTML查看和编辑 ... -
15 个顶级 HTML5 游戏引擎
2013-02-10 12:30 54291) HTML5 Game Engine Constr ... -
perl-lwp笔记
2013-02-05 19:51 24092008-01-07 10:25 perl的LWP模块介绍 ... -
perl-opengl几何变换函数
2013-02-01 10:48 1770#!/usr/bin/perl -w use strict ... -
perl-opengl基本图形操作-缩放,二维旋转,二维平移
2013-02-01 09:08 3473#!/usr/bin/perl -w use strict ... -
perl-opengl-glutMotionFunc鼠标事件
2013-01-25 15:54 5150#!/usr/bin/perl -w use stric ... -
perl-opengl-鼠标事件与球体视角
2013-01-25 11:19 2387#!/usr/bin/perl -w use stric ... -
perl-opengl键盘事件与色彩
2013-01-25 09:29 2762#!/usr/bin/perl -w use st ... -
perl-opengl-鼠标事件
2013-01-24 22:43 1990#!/usr/bin/perl -w use s ... -
perl-opengl立方体
2013-01-24 17:44 1806#!/usr/bin/perl -w use strict ... -
perl-opengl画距形
2013-01-24 17:01 1666#!/usr/bin/perl -w use stric ... -
用 X3D 替代 VRML 2.0 的十个理由
2013-01-24 15:24 1546用 X3D 替代 VRML 2.0 的十 ... -
perl-opengl椭圆算法
2013-01-23 17:31 1946#!/usr/bin/perl -w use strict ... -
使用cpan安装Perl模块时自动安装依赖模块的方法
2013-01-23 10:44 3499Comprehensive Perl Archive Net ... -
perl-opengl-直线绘制
2013-01-23 10:43 1501#!/usr/bin/perl -w use strict ... -
perl-opengl指定矩阵-坐标视图
2013-01-22 15:23 1699这两个都是glMatrixMode()函数的参数,那就先说 ... -
perl-opengl多边形近似球体
2013-01-21 21:18 2661#!/usr/bin/perl -w use stric ... -
perl-opengl学习-绘制点
2013-01-21 17:33 1687#!/usr/bin/perl -w use strict ... -
perl-opengl示例程序
2013-01-21 16:22 3262#!/usr/bin/perl -w use strict ... -
开源 Lisp 相关项目
2013-01-19 22:38 3920IOLib 项目 (http://common-lisp.n ...
相关推荐
配置文件解析深度剖析 #### 引言 `php.ini` 文件是 PHP 运行环境的核心配置文件,其重要性不言而喻。本文将深入解析 `php.ini` 的组织方式、结构特点及关键配置项,帮助开发者更好地理解和优化 PHP 应用。 #### ...
2. **PHP配置文件的作用** 在PHP应用程序中,配置文件是极为重要的组成部分,它们可以为不同的客户需求提供定制化的设置。尤其在商城、CMS等大型应用中,每个客户可能需要一套自己的配置文件。 3. **常见的配置...
并在配置文件中指定PHP文件的解析器: ```AddHandler application/x-httpd-php .php``` 3. 设置环境变量PATH,包含PHP的可执行文件路径。 4. 配置php.ini,调整PHP的相关设置,如错误报告、内存限制、日期时间格式...
PHP配置文件位于`/etc/php/7.x/fpm/php.ini`和`/etc/php/7.x/cli/php.ini`。 3. **Phalcon**: Phalcon是一个用C语言编写的高性能PHP框架。要安装Phalcon,首先确保已经安装了PHP开发工具,然后通过pecl(PHP扩展...
在调试PHP代码时,有时候需要借助一些工具体验PHP解析器的工作,如`php -l`命令可以进行语法检查,`php -r`可以运行单行PHP代码,`php -d`用来设置配置选项等。此外,像Xdebug这样的扩展工具则提供了更深入的调试和...
### PHP配置文件详解 在IT领域,特别是Web开发中,PHP是一种非常流行的服务器端脚本语言,被广泛用于动态网站的构建。对于PHP环境的搭建,一个完整的配置流程至关重要。根据提供的标题“php配置文件”及其描述“超...
然后,你需要配置Apache的配置文件`httpd.conf`,通常位于`conf`子目录内。打开文件,确保以下设置正确: 1. ServerRoot:设置Apache安装的根目录,如`ServerRoot "C:/Apache24"`。 2. Listen:指定服务器监听的...
本文将深入探讨如何使用PHP结合正则表达式来动态修改配置文件,这在日常开发和运维工作中非常实用。 首先,我们需要理解配置文件的含义。在软件系统中,配置文件通常用来存储应用的设置和参数,比如数据库连接信息...
### PHP配置文件详解 #### 一、概览 在IT领域,尤其是Web开发中,PHP是一种广泛使用的服务器端脚本语言。PHP配置文件,通常命名为`php.ini`,是PHP运行环境的核心配置文件,它控制着PHP的行为和性能。本文将深入...
ecstore kernel.php 文件解析 ecstore kernel.php 文件是 ecstore 电子商务平台的核心文件之一,负责加载和初始化应用程序的各种组件和配置。下面是对该文件的详细解析: 一、版权信息和 License 文件开头包含 ...
#### 二、WAMP配置文件解析 ##### 1. Apache配置文件 Apache配置文件是WAMP环境中非常重要的组成部分,主要负责Web服务器的基本设置。通常情况下,Apache配置文件名为`httpd.conf`,位于Apache安装目录下的`conf`...
### 中文 PHP 配置文件 php.ini 解析 在 IT 行业中,尤其是对于 Web 开发者来说,正确配置 PHP 环境至关重要。本文将深入解析一份中文版的 `php.ini` 配置文件,帮助理解其各项设置的意义与作用。 #### 一、配置...
这里假设`php5ts.dll`位于`D:\php\php5`目录下,并且PHP的配置文件也位于同一目录。通过这种方式,Apache能够在处理PHP文件时调用正确的PHP解释器。 #### 总结 配置PHP5.3.3涉及到多个步骤,但总体流程较为清晰。...
5. PHP配置文件(php.clf):PHP是一种服务器端脚本语言,主要用于Web开发。此配置文件使Source Insight能够识别PHP的语法特性,如变量、函数、类和对象,以及PHP与HTML的混合,为Web开发者提供更舒适的编码环境。 ...
PHP配置文件php.ini位于C:\Windows目录下,需要修改Paths and Directories部分的配置。 ### 2.2.2 PHP扩展库 PHP扩展库位于C:\Windows\System32目录下,需要拷贝DLL文件到该目录。 五、PHPMyadmin安装 ...
### PHP配置文件详解 在深入探讨PHP配置文件的细节前,我们先来了解其基本概念。`php.ini`是PHP的核心配置文件,它控制着PHP的运行环境与行为。无论是在开发还是生产环境中,理解并合理设置这些配置项对确保应用的...
配置文件中文.txt`提供了详尽的中文解释,使得理解和调整PHP配置变得更加容易。 1. **配置文件结构** `php.ini`由一系列指令构成,每个指令由等号分隔,如`variable = value`。注释通常以分号(;)开始,用于解释...
Nginx的配置文件通常位于conf目录下的nginx.conf文件中,是控制Nginx行为的核心。解析nginx.conf文件的结构对理解Nginx的工作机制至关重要。 Nginx配置文件一般分为几个主要部分:全局块、events块、http块、server...
同时,还需要编辑PHP的配置文件(如`php.ini`),启用PHP_FFMpeg扩展。在`php.ini`中找到类似`extension=php_ffmpeg.dll`的行,取消注释(去掉分号`;`)。 完成上述配置后,重启你的Web服务器(如Apache或Nginx),...
在PHP中,蓝奏云网盘直链解析主要是为了获取存储在蓝奏云上的文件的直接下载链接,以便用户可以无需通过蓝奏云的网页界面,而是直接通过HTTP请求下载文件,提高下载速度和便利性。 首先,我们需要理解PHP的基本语法...