> >> >> > >> > Hi everyone,
> >> >> > >> >
> >> >> > >> > a few days ago I wrote about the error
> >> >> > >> > 'ERROR
> >> >> > >> > 'Unknown user or password incorrect.
> >> >> > >> > 'Go to the login page.
> >> >> > >> >
> >> >> > >> > This error appears after a correct login on the right 
> frame>> >> > >> where usually
> >> >> > >> > the message list is shown. The left frame is left blank.
> >> >> > >> >
> >> >> > >> > Tomas Kuliavas gave me a PHP script 'test-
> session.php' for
> >> >> > >> testing the
> >> >> > >> > session support of my PHP installation. It should show
> >> changing>> > >> text after
> >> >> > >> > reload. Now I tried this script and it works fine.
> >> >> > >> >
> >> >> > >> > Here are the details of my webserver:
> >> >> > >> > Windows 2000 Professional with SP4
> >> >> > >> > IIS 5.0
> >> >> > >> > PHP 4.4.2
> >> >> > >> > SquirrelMail 1.4.5 (one original and one with some 
> plugins)>> >> > >> > SquirrelMail 1.4.6 (original)
> >> >> > >> > PHP.INI: There are no changes after installation of PHP
> >> >> with
> >> >> > the EXE
> >> >> > >> > installer (i. e. register_globals=off, see also attached
> >> >> file
> >> >> > from>> > C:\WINNT).
> >> >> > >> > DLLs: I didn't copy any DLL files to the windows 
> directory.>> >> > >>
> >> >> > >> Test your php settings
> >> >> > >> (http://www.squirrelmail.org/wiki/TestPHPSettings)and 
> show us
> >> >> > >> core, session and mbstring extension settings.
> >> >> > >>
> >> >> > > Hi,
> >> >> > >
> >> >> > > see my phpinfo file as attachment.
> >> >> >
> >> >> > According to phpinfo, your php.ini is not in 
> c:\windows\php.ini,>> >> > but in
> >> >> > C:\PROGRA~1\PHP\PHP-44~1.2\php.ini
> >> >> >
> >> >> > You have several issues
> >> >> > a) when you debug php issues, you must enable 
> display_errors. It
> >> >> > is turned
> >> >> > off in your setup.
> >> >> > b) upload_tmp_dir is not set. It defaults to /tmp and is
> >> >> unusable
> >> >> > on Win32.
> >> >> > c) session.save_path is not set. It defaults to /tmp and is
> >> >> > unusable on
> >> >> > Win32.
> >> >> > d) your php installation is in C:\PROGRA~1\PHP\PHP-44~1.2\,
> >> but pear
> >> >> > includes are in c:\php4\pear. Where do you store your php
> >> >> > installation?
> >> >> >
> >> >> These are very helpful information. I changed the settings but
> >> >> with the pear includes I don't know how to change the 
> setting. PHP
> >> >> ist installed in C:\Programme\PHP\php-4.4.2\ and there is 
> also a
> >> >> folder named PEAR. What should I do?
> >> >>
> >> >> Thank you.
> >> >>
> >> >> Stefan
> >> >>
> >> > I tried SquirrelMail but there were no changes in the behavior.
> >> > session.save_path = C:\TEMP
> >> > upload_tmp_dir = C:\TEMP
> >> > display_errors = on (I didn't get any PHP error!)
> >>
> >> 1. use c:/temp instead of c:\temp
> >> 2. if phpinfo() still shows old values - restart iis
> >> 3. make sure that c:/temp is writable by anonymous web user.
> >>
> >> modify include_path setting in php.ini and use correct pear 
> directory>> instead of c:\php4\pear.
> >>
> > OK, done but no changes. Is it possible that the server can not 
> answer in
> > time? When SquirrelMail is used the processes PHP.EXE and 
> HMailServer.exe> (version 4.1.1-B140) use together 100% CPU for a 
> few seconds. I think
> > SquirrelMail gets a timeout.
> 
> If you get 'Unknown user or password incorrect', when URL says
> http://your-host/path-to-sm/src/webmail.php - you have invalid php 
> sessionsetup or cookies are not accepted by browser. SquirrelMail 
> managed to pass
> src/redirect.php script and redirect.php verified that provided 
> usernameand password information is correct.
> 
> Recheck your php settings in phpinfo().
> 
Please see my new phpinfo file as attachment.

---
Stefan
Title: phpinfo()
PHP Logo

PHP Version 4.4.2


System Windows NT LANSUITE 5.0 build 2195
Build Date Jan 13 2006 13:49:27
Server API CGI/FastCGI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\PROGRA~1\PHP\PHP-44~1.2\php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety enabled
Registered PHP Streams php, http, ftp, compress.zlib

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies


PHP Credits


Configuration

PHP Core

Directive Local Value Master Value
allow_call_time_pass_reference Off Off
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 2047 2047
expose_php On On
extension_dir ./ ./
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .;C:\Programme\PHP\php-4.4.2\PEAR .;C:\Programme\PHP\php-4.4.2\PEAR
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 30 30
max_input_time 60 60
open_basedir no value no value
output_buffering 4096 4096
output_handler no value no value
post_max_size 8M 8M
precision 14 14
register_argc_argv Off Off
register_globals Off Off
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path no value no value
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir C:/TEMP C:/TEMP
user_dir no value no value
variables_order GPCS GPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On

bcmath

BCMath support enabled

calendar

Calendar support enabled

com

Directive Local Value Master Value
com.allow_dcom Off Off
com.autoregister_casesensitive On On
com.autoregister_typelib Off Off
com.autoregister_verbose Off Off
com.typelib_file no value no value

ctype

ctype functions enabled

ftp

FTP support enabled

mysql

MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.49

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off

odbc

ODBC Support enabled
Active Persistent Links 0
Active Links 0
ODBC library Win32

Directive Local Value Master Value
odbc.allow_persistent On On
odbc.check_persistent On On
odbc.default_db no value no value
odbc.default_pw no value no value
odbc.default_user no value no value
odbc.defaultbinmode return as is return as is
odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes
odbc.max_links Unlimited Unlimited
odbc.max_persistent Unlimited Unlimited

overload

User-Space Object Overloading Support enabled

pcre

PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.2 01-Aug-2005

session

Session Support enabled
Registered save handlers files user

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 Off Off
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 1000 1000
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path C:/TEMP C:/TEMP
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off

standard

Regex Library Bundled library enabled
Dynamic Library Support enabled
Internal Sendmail Support for Windows enabled

Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=fakeentry a=href,area=href,frame=src,input=src,form=fakeentry
user_agent no value no value

tokenizer

Tokenizer Support enabled

wddx

WDDX Support enabled
WDDX Session Serializer enabled

xml

XML Support active
XML Namespace Support active
EXPAT Version 1.95.6

zlib

ZLib Support enabled
Compiled Version 1.2.3
Linked Version 1.2.3

Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value

Additional Modules

Module Name

Environment

Variable Value
ALLUSERSPROFILE C:\Dokumente und Einstellungen\All Users
CommonProgramFiles C:\Programme\Gemeinsame Dateien
COMPUTERNAME LANSUITE
ComSpec C:\WINNT\system32\cmd.exe
CONTENT_LENGTH 0
GATEWAY_INTERFACE CGI/1.1
HTTPS off
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/msword, */*
HTTP_ACCEPT_LANGUAGE de
HTTP_CONNECTION Keep-Alive
HTTP_HOST 192.168.0.51
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
HTTP_ACCEPT_ENCODING gzip, deflate
INSTANCE_ID 1
LOCAL_ADDR 192.168.0.51
NUMBER_OF_PROCESSORS 1
Os2LibPath C:\WINNT\system32\os2\dll;
OS Windows_NT
Path C:\Programme\UnixUtils\usr\local\wbin;C:\Programme\PHP\php-4.4.2;C:\Programme\Perl\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PATH_INFO /phpinfo.php
PATH_TRANSLATED c:\inetpub\wwwroot\phpinfo.php
PROCESSOR_ARCHITECTURE x86
PROCESSOR_IDENTIFIER x86 Family 15 Model 15 Stepping 0, AuthenticAMD
PROCESSOR_LEVEL 15
PROCESSOR_REVISION 0f00
ProgramFiles C:\Programme
REMOTE_ADDR 192.168.0.50
REMOTE_HOST 192.168.0.50
REQUEST_METHOD GET
SCRIPT_NAME /phpinfo.php
SERVER_NAME 192.168.0.51
SERVER_PORT 80
SERVER_PORT_SECURE 0
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE Microsoft-IIS/5.0
SystemDrive C:
SystemRoot C:\WINNT
TEMP C:\TEMP
TMP C:\TEMP
USERPROFILE C:\Dokumente und Einstellungen\Default User
windir C:\WINNT

PHP Variables

Variable Value
_SERVER["ALLUSERSPROFILE"] C:\Dokumente und Einstellungen\All Users
_SERVER["CommonProgramFiles"] C:\Programme\Gemeinsame Dateien
_SERVER["COMPUTERNAME"] LANSUITE
_SERVER["ComSpec"] C:\WINNT\system32\cmd.exe
_SERVER["CONTENT_LENGTH"] 0
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["HTTPS"] off
_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/msword, */*
_SERVER["HTTP_ACCEPT_LANGUAGE"] de
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_HOST"] 192.168.0.51
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["INSTANCE_ID"] 1
_SERVER["LOCAL_ADDR"] 192.168.0.51
_SERVER["NUMBER_OF_PROCESSORS"] 1
_SERVER["Os2LibPath"] C:\WINNT\system32\os2\dll;
_SERVER["OS"] Windows_NT
_SERVER["Path"] C:\Programme\UnixUtils\usr\local\wbin;C:\Programme\PHP\php-4.4.2;C:\Programme\Perl\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
_SERVER["PATH_INFO"] /phpinfo.php
_SERVER["PATH_TRANSLATED"] c:\inetpub\wwwroot\phpinfo.php
_SERVER["PROCESSOR_ARCHITECTURE"] x86
_SERVER["PROCESSOR_IDENTIFIER"] x86 Family 15 Model 15 Stepping 0, AuthenticAMD
_SERVER["PROCESSOR_LEVEL"] 15
_SERVER["PROCESSOR_REVISION"] 0f00
_SERVER["ProgramFiles"] C:\Programme
_SERVER["REMOTE_ADDR"] 192.168.0.50
_SERVER["REMOTE_HOST"] 192.168.0.50
_SERVER["REQUEST_METHOD"] GET
_SERVER["SCRIPT_NAME"] /phpinfo.php
_SERVER["SERVER_NAME"] 192.168.0.51
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_PORT_SECURE"] 0
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["SERVER_SOFTWARE"] Microsoft-IIS/5.0
_SERVER["SystemDrive"] C:
_SERVER["SystemRoot"] C:\WINNT
_SERVER["TEMP"] C:\TEMP
_SERVER["TMP"] C:\TEMP
_SERVER["USERPROFILE"] C:\Dokumente und Einstellungen\Default User
_SERVER["windir"] C:\WINNT
_SERVER["PHP_SELF"] /phpinfo.php

PHP License

This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact [EMAIL PROTECTED]


1

Reply via email to