engine = On
zend.ze1_compatibility_mode = Offshort_open_tag = On
asp_tags = Off
; The number of significant digits displayed in floating point numbers.
precision    =  12
; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
y2k_compliance = Onoutput_buffering = on
;output_handler =zlib.output_compression = Off
;zlib.output_compression_level = -1
;zlib.output_handler =;implicit_flush = Off
unserialize_callback_func=serialize_precision = 100
allow_call_time_pass_reference = On; Safe Mode
safe_mode = Off
safe_mode_gid = Off
safe_mode_include_dir =
safe_mode_exec_dir =safe_mode_allowed_env_vars = PHP_
safe_mode_protected_env_vars = LD_LIBRARY_PATH;open_basedir =
disable_functions =
disable_classes =; ignore_user_abort = On
; realpath_cache_size=16k
; realpath_cache_ttl=120
expose_php = On;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
error_reporting  =  E_ALL & ~E_NOTICE
;display_errors = "stderr"
; stdout (On) - Display errors to STDOUTdisplay_errors = On
display_startup_errors = Off
log_errors = Off
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On;report_zend_debug = 0
track_errors = Off
;error_log = filename
;error_log = syslog;;;;;;;;;;;;;;;;;
; Data Handling ;
;;;;;;;;;;;;;;;;;
;arg_separator.output = "&"
;arg_separator.input = ";&"
variables_order = "EGPCS"register_globals = on
register_long_arrays = On
register_argc_argv = On
auto_globals_jit = Onpost_max_size = 8M; Magic quotes
;
magic_quotes_gpc = On
magic_quotes_runtime = Off
magic_quotes_sybase = Offauto_prepend_file =
auto_append_file =default_mimetype = "text/html"
;default_charset = "iso-8859-1"
;always_populate_raw_post_data = On;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;doc_root =
user_dir =
extension_dir = "./"
enable_dl = On;;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
file_uploads = On
;upload_tmp_dir =
upload_max_filesize = 2M;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;
allow_url_fopen = On
allow_url_include = Off
;from="[email protected]"; user_agent="PHP"
default_socket_timeout = 60
; auto_detect_line_endings = Off;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
extension=php_gd2.dll
extension=php_mysql.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().
define_syslog_variables  = Off[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25; For Win32 only.
;sendmail_from = [email protected]; 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 as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =[SQL]
sql.safe_mode = Offodbc.allow_persistent = On
; Check that a connection is still valid before reuse.
odbc.check_persistent = On
; Maximum number of persistent links.  -1 means no limit.
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 of bytes to variables.  0 means
; passthru.
odbc.defaultlrl = 4096
; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
; of uodbc.defaultlrl and uodbc.defaultbinmode
odbc.defaultbinmode = 1[MySQL]
mysql.allow_persistent = On
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port =
mysql.default_socket =
mysql.default_host =
mysql.default_user =
mysql.default_password =mysql.connect_timeout = 60
mysql.trace_mode = Off[MySQLi]
; Maximum number of links.  -1 means no limit.
mysqli.max_links = -1
; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order).  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 safe mode).
mysqli.default_host =
; Default user for mysql_connect() (doesn't apply in safe mode).
mysqli.default_user =
; Default password for mysqli_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this file.
; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
; and reveal this password!  And of course, any users 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 no limit.
msql.max_persistent = -1
; Maximum number of links (persistent+non persistent).  -1 means no limit.
msql.max_links = -1
[PostgresSQL]pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = -1
pgsql.max_links = -1
pgsql.ignore_notice = 0
pgsql.log_notice = 0[Sybase]
sybase.allow_persistent = On
sybase.max_persistent = -1
sybase.max_links = -1
sybase.min_error_severity = 10
sybase.min_message_severity = 10
sybase.compatability_mode = Off[Sybase-CT]
sybct.allow_persistent = On
sybct.max_persistent = -1
sybct.max_links = -1
sybct.min_server_severity = 10
sybct.min_client_severity = 10[bcmath]
bcmath.scale = 0
[browscap]
;browscap = extra/browscap.ini
[Informix]
ifx.default_host =
ifx.default_user =
ifx.default_password =
ifx.allow_persistent = On
ifx.max_persistent = -1
ifx.max_links = -1
ifx.textasvarchar = 0
ifx.byteasvarchar = 0
ifx.charasvarchar = 0
ifx.blobinfile = 0
ifx.nullformat = 0[Session]
; Handler used to store/retrieve data.
session.save_handler = files
session.save_path = "/Temp"
session.use_cookies = 1;session.cookie_secure = 
; session.use_only_cookies = 1session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime =3600
session.cookie_path = /
session.cookie_domain = 
session.cookie_httponly = session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor     = 100
session.gc_maxlifetime = 3600session.bug_compat_42 = 1
session.bug_compat_warn = 1
session.referer_check =
session.entropy_length = 0
session.entropy_file =;session.entropy_length = 16
;session.entropy_file = /dev/urandom
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0session.hash_function = 0
session.hash_bits_per_character = 4[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 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 server settings
; 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 is used
; This is only used when compiled with FreeTDS
;mssql.charset = "ISO-8859-1"
[Tidy]
; The path to a default tidy configuration file to use when using tidy
;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-html content
; 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 cache files.
soap.wsdl_cache_dir="/tmp"
; (time to live) Sets the number of second while cached file will be used 
; instead of original one.
soap.wsdl_cache_ttl=86400; Local Variables:
; tab-width: 4
; End:

解决方案 »

  1.   

    嗯..没配置过..- -!可以试试:
    session.cookie_lifetime = 0或者在程序提示之前:
    setcookie(session_name(),''); 如果没效果,可以在加上后,在"提示请重新登陆"时把所有网页关掉,再重新登陆看是否提示已登录
      

  2.   

    session.cookie_lifetime = 0 改了很多次了 改完也重启服务了 不起什么作用 setcookie(session_name(),'');加上去之后 直接登录不进去 提示错误是跟页头的session_start()冲突
      

  3.   

    session.cookie_lifetime = 0 改了很多次了 改完也重启服务了 不起什么作用 setcookie(session_name(),'');加上去之后 直接登录不进去 提示错误是跟页头的session_start()冲突 251982933 加我qq把