|
| php.ini的简单配置(四) |
 |
| 时间:2005-02-26 作者:不详 来源:不详 |
 |
user_dir =
; Directory in which the loadable extensions (modules) reside. ; ; ; 本地可装载的扩展(模块)所在的目录 ; ; extension_dir = c:phpextensions
; Whether or not to enable the dl() function. The dl() function does NOT work ; properly in multithreaded servers, such as IIS or Zeus, and is automatically ; disabled on them. ; ; ; 是否允许 dl()函数。dl()在多线程服务器上不能正确的工作,例如 IIS 或者 Zeus,此时自动屏蔽 ; ; enable_dl = On
;;;;;;;;;;;;;;;; ; File Uploads ; ; ; ; 文件上传 ; ; ;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads. ; ; ; 是否允许文件上传 ; ; file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not ; specified). ; ; ; HTTP 上传时文件的临时目录(如果没有指定就使用系统默认的) ; ; ;upload_tmp_dir =
; Maximum allowed size for uploaded files. ; ; ; 最大允许上传文件尺寸 ; ; upload_max_filesize = 2M
;;;;;;;;;;;;;;;;;; ; Fopen wrappers ; ; ; ; 文件打开封装 ; ; ;;;;;;;;;;;;;;;;;;
; Whether to allow the treatment of URLs (like [url]http://[/url] or [url]ftp://[/url]) as files. ; ; ; 是否允许把 URLs(象 [url]http://[/url] 或者 [url]ftp://[/url])以文件对待 ; ; allow_url_fopen = On
; Define the anonymous ftp password (your email address) ; ; ; 默认的 ftp 密码(你的邮箱地址) ; ; ;from="john@doe.com"
;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions ; ; ; ; 动态扩展 ; ; ;;;;;;;;;;;;;;;;;;;;;; ; ; If you wish to have an extension loaded automatically, use the following ; 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 directory information ; needs to go here. Specify the location of the extension with the ; extension_dir directive above. ; ; ; 如果你想自动装载某些扩展,使用下面的语法 ; ; extension = modulename.extension ; ; 例如在 Windows 下面 ; ; extension=msql.dll ; ; 在 UNIX 下面 ; ; extension = msql.so ; ; 注意,必须是模块的名字,不能有其他指示。扩展的位置在 extension_dir 那里指定 ; ;
;Windows Extensions ;Note that MySQL and ODBC support is now built in, so no dll is needed for it. ; ; ; Windows 扩展 ; 注意,MySQL 和 ODBC 已经内置了,不需要 dll 了。 ; ; ;extension=php_bz2.dll ;extension=php_ctype.dll ;extension=php_cpdf.dll ;extension=php_curl.dll ;extension=php_cybercash.dll ;extension=php_db.dll ;extension=php_dba.dll ;extension=php_dbase.dll ;extension=php_dbx.dll ;extension=php_domxml.dll ;extension=php_dotnet.dll ;extension=php_exif.dll ;extension=php_fbsql.dll ;extension=php_fdf.dll ;extension=php_filepro.dll ;extension=php_gd.dll ;extension=php_gettext.dll ;extension=php_hyperwave.dll ;extension=php_iconv.dll ;extension=php_ifx.dll ;extension=php_iisfunc.dll ;extension=php_imap.dll ;extension=php_ingres.dll ;extension=php_interbase.dll ;extension=php_java.dll ;extension=php_ldap.dll ;extension=php_mbstring.dll ;extension=php_mcrypt.dll ;extension=php_mhash.dll ;extension=php_ming.dll ;extension=php_mssql.dll ; 这个是 Microsoft SQL Server ;extension=php_oci8.dll ;extension=php_openssl.dll ;extension=php_oracle.dll ;extension=php_pdf.dll ;extension=php_pgsql.dll ;extension=php_printer.dll ;extension=php_sablot.dll ;extension=php_shmop.dll ;extension=php_snmp.dll ;extension=php_sockets.dll ;extension=php_sybase_ct.dll ;extension=php_xslt.dll ;extension=php_yaz.dll ;extension=php_zlib.dll
;;;;;;;;;;;;;;;;;;; ; Module Settings ; ; ; ; 模块设置 ; ; ;;;;;;;;;;;;;;;;;;;
[Syslog] ; ; 系统日志 ; ; Whether or not to define the various syslog variables (e.g. $LOG_PID, ; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In ; runtime, you can define these variables by calling define_syslog_variables(). ; ; ; 是否定以不同的系统日志变量(例如,$LOG_PID,$LOG_CRON,等等)。为性能考虑,关闭比较好 ; 在运行期间,你可以通过调用 define_syslog_variables() 定以这些变量 ; ; define_syslog_variables = Off
[mail function] ; ; 邮件函数 ; ; For Win32 only. ; ; ; Win32 可用 ; ; SMTP = localhost
; For Win32 only. ; ; ; Win32 可用 ; ; sendmail_from = me@localhost.com
; For Unix only. You may supply arguments as well (default: 'sendmail -t -i'). ; ; ; Unix 可用,可以指定参数。(默认是 sendmail -t -i ) ; ; ;sendmail_path =
[Logging] ; ; 日志 ; ; These configuration directives are used by the example logging mechanism. ; See examples/README.logging for more explanation. ; ; ; 这些配置指示例子中的日志机制,查看 examples/README.logging 的详细说明 |
|