[pmwiki-users] warning function.session_write_close() probaly php version problem
worm
webmaster at wormcs.dyndns.org
Sun Aug 13 10:04:38 CDT 2006
Hi / bonjour
i post here because the dynamic ip range of my provider (orange) it
blacklisted by dnsbl/dynablock.njabl.org server ... your postfix refused
my mail ....
this this the result og the phpinfo.php :
PHP Logo
PHP Version 5.0.5-3
System Linux wormcs.dyndns.org 2.6.12-1-686-smp #1 SMP Tue Sep 27
13:10:31 JST 2005 i686
Build Date Oct 20 2005 17:50:50
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php5/cgi/php.ini
PHP API 20031224
PHP Extension 20041030
Zend Extension 220040412
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, http, ftp, compress.bzip2,
compress.zlib, https, ftps
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3,
sslv2, tls
Zend logoThis program makes use of the Zend Scripting Language Engine:
Zend Engine v2.0.5, Copyright (c) 1998-2004 Zend Technologies
PHP Credits
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
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_globals_jit On On
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 2039 2039
expose_php On On
extension_dir /usr/lib/php5/20041030 /usr/lib/php5/20041030
file_uploads On On
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 .:/usr/share/php:/usr/share/pear
.:/usr/share/php:/usr/share/pear
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 900 900
max_input_time 60 60
memory_limit 256M 256M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 1900M 1900M
precision 12 12
register_argc_argv On On
register_globals Off Off
register_long_arrays On On
report_memleaks On On
report_zend_debug 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 /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
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 1900M 1900M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off
bcmath
BCMath support enabled
bz2
BZip2 Support Enabled
BZip2 Version 1.0.3, 15-Feb-2005
calendar
Calendar support enabled
ctype
ctype functions enabled
dba
DBA support enabled
Supported handlers gdbm cdb cdb_make db4 inifile flatfile
dbx
dbx support enabled
dbx version 1.1.0
supported databases MySQL ODBC PostgreSQL Microsoft SQL Server
FrontBase Oracle 8 (oci8) Sybase-CT SQLite
Directive Local Value Master Value
dbx.colnames_case unchanged unchanged
dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.22
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled
exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.162.2.9 2005/08/05 14:00:47 hyanantha
Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF
ftp
FTP support enabled
gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.10
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
gettext
GetText Support enabled
iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.3.6
Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1
libxml
libXML support active
libXML Version 2.6.22
libXML streams enabled
mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 3.7.0
mbstring extension makes use of "streamable kanji code filter and
converter", which is distributed under the GNU Lesser General Public
License version 2.1.
Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding ISO-8859-1 no value
mbstring.language neutral neutral
mbstring.substitute_character no value no value
mime_magic
mime_magic support invalid magic file, disabled
Directive Local Value Master Value
mime_magic.debug Off Off
mime_magic.magicfile /usr/share/file/magic.mime /usr/share/file/magic.mime
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 4.1.15
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient
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
openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.8a 11 Oct 2005
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.4 05-Sep-2005
posix
Revision $Revision: 1.60.2.4 $
session
Session Support enabled
Registered save handlers files user
Registered serializer handlers php php_binary wddx
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
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 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 0 0
session.hash_bits_per_character 4 4
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /var/lib/php5 /var/lib/php5
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0
shmop
shmop support enabled
SimpleXML
Simplexml support enabled
Revision $Revision: 1.139.2.4 $
Schema support enabled
soap
Soap Client enabled
Soap Server enabled
Directive Local Value Master Value
soap.wsdl_cache_dir /tmp /tmp
soap.wsdl_cache_enabled 1 1
soap.wsdl_cache_ttl 86400 86400
sockets
Sockets Support enabled
SPL
SPL support enabled
Interfaces RecursiveIterator, SeekableIterator
Classes ArrayIterator, ArrayObject, CachingIterator,
CachingRecursiveIterator, DirectoryIterator, FilterIterator,
LimitIterator, ParentIterator, RecursiveDirectoryIterator,
RecursiveIteratorIterator, SimpleXMLIterator
standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i
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
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.83 90.83
date.sunset_zenith 90.83 90.83
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=,fieldset=
a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value
sysvmsg
sysvmsg support enabled
Revision $Revision: 1.16.2.3 $
tokenizer
Tokenizer Support enabled
wddx
WDDX Support enabled
WDDX Session Serializer enabled
xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.22
yp
YP Support enabled
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
filepro
sysvsem
sysvshm
Environment
Variable Value
DOCUMENT_ROOT /var/www/html/wormcs
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_LANGUAGE fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
HTTP_CONNECTION keep-alive
HTTP_COOKIE AWSUSER_ID=awsuser_id1154867611953r4081;
AWSSESSION_ID=awssession_id1155480112225r2326
HTTP_HOST wormcs.dyndns.org
HTTP_KEEP_ALIVE 300
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; fr;
rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
PATH /bin:/usr/bin
QUERY_STRING no value
REDIRECT_STATUS 200
REMOTE_ADDR 10.0.0.4
REMOTE_HOST ipcopaccess.femina
REMOTE_PORT 2111
REQUEST_METHOD GET
REQUEST_URI /locator/phpinfo.php
SCRIPT_FILENAME /var/www/html/wormcs/locator/phpinfo.php
SCRIPT_NAME /locator/phpinfo.php
SERVER_ADDR 10.0.0.10
SERVER_ADMIN webmaster at wormcs.dyndns.org
SERVER_NAME wormcs.dyndns.org
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE no value
SERVER_SOFTWARE Apache/2.0.55 (Debian) mod_fastcgi/2.4.2 PHP/5.0.5-3
proxy_html/2.4 mod_ssl/2.0.55 OpenSSL/0.9.8b
ORIG_SCRIPT_NAME /locator/phpinfo.php
ORIG_SCRIPT_FILENAME /var/www/html/wormcs/locator/phpinfo.php
PATH_INFO no value
PATH_TRANSLATED no value
PHP Variables
Variable Value
_REQUEST["AWSUSER_ID"] awsuser_id1154867611953r4081
_REQUEST["AWSSESSION_ID"] awssession_id1155480112225r2326
_COOKIE["AWSUSER_ID"] awsuser_id1154867611953r4081
_COOKIE["AWSSESSION_ID"] awssession_id1155480112225r2326
_SERVER["DOCUMENT_ROOT"] /var/www/html/wormcs
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["HTTP_ACCEPT"]
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"] fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["HTTP_COOKIE"] AWSUSER_ID=awsuser_id1154867611953r4081;
AWSSESSION_ID=awssession_id1155480112225r2326
_SERVER["HTTP_HOST"] wormcs.dyndns.org
_SERVER["HTTP_KEEP_ALIVE"] 300
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 5.1; fr;
rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
_SERVER["PATH"] /bin:/usr/bin
_SERVER["QUERY_STRING"] no value
_SERVER["REDIRECT_STATUS"] 200
_SERVER["REMOTE_ADDR"] 10.0.0.4
_SERVER["REMOTE_HOST"] ipcopaccess.femina
_SERVER["REMOTE_PORT"] 2111
_SERVER["REQUEST_METHOD"] GET
_SERVER["REQUEST_URI"] /locator/phpinfo.php
_SERVER["SCRIPT_FILENAME"] /var/www/html/wormcs/locator/phpinfo.php
_SERVER["SCRIPT_NAME"] /locator/phpinfo.php
_SERVER["SERVER_ADDR"] 10.0.0.10
_SERVER["SERVER_ADMIN"] webmaster at wormcs.dyndns.org
_SERVER["SERVER_NAME"] wormcs.dyndns.org
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["SERVER_SIGNATURE"] no value
_SERVER["SERVER_SOFTWARE"] Apache/2.0.55 (Debian) mod_fastcgi/2.4.2
PHP/5.0.5-3 proxy_html/2.4 mod_ssl/2.0.55 OpenSSL/0.9.8b
_SERVER["ORIG_SCRIPT_NAME"] /locator/phpinfo.php
_SERVER["ORIG_SCRIPT_FILENAME"] /var/www/html/wormcs/locator/phpinfo.php
_SERVER["PATH_INFO"] no value
_SERVER["PATH_TRANSLATED"] no value
_SERVER["PHP_SELF"] /locator/phpinfo.php
_SERVER["argv"]
Array
(
)
_SERVER["argc"] 0
_ENV["DOCUMENT_ROOT"] /var/www/html/wormcs
_ENV["GATEWAY_INTERFACE"] CGI/1.1
_ENV["HTTP_ACCEPT"]
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
_ENV["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_ENV["HTTP_ACCEPT_ENCODING"] gzip,deflate
_ENV["HTTP_ACCEPT_LANGUAGE"] fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
_ENV["HTTP_CONNECTION"] keep-alive
_ENV["HTTP_COOKIE"] AWSUSER_ID=awsuser_id1154867611953r4081;
AWSSESSION_ID=awssession_id1155480112225r2326
_ENV["HTTP_HOST"] wormcs.dyndns.org
_ENV["HTTP_KEEP_ALIVE"] 300
_ENV["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 5.1; fr;
rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
_ENV["PATH"] /bin:/usr/bin
_ENV["QUERY_STRING"] no value
_ENV["REDIRECT_STATUS"] 200
_ENV["REMOTE_ADDR"] 10.0.0.4
_ENV["REMOTE_HOST"] ipcopaccess.femina
_ENV["REMOTE_PORT"] 2111
_ENV["REQUEST_METHOD"] GET
_ENV["REQUEST_URI"] /locator/phpinfo.php
_ENV["SCRIPT_FILENAME"] /var/www/html/wormcs/locator/phpinfo.php
_ENV["SCRIPT_NAME"] /locator/phpinfo.php
_ENV["SERVER_ADDR"] 10.0.0.10
_ENV["SERVER_ADMIN"] webmaster at wormcs.dyndns.org
_ENV["SERVER_NAME"] wormcs.dyndns.org
_ENV["SERVER_PORT"] 80
_ENV["SERVER_PROTOCOL"] HTTP/1.1
_ENV["SERVER_SIGNATURE"] no value
_ENV["SERVER_SOFTWARE"] Apache/2.0.55 (Debian) mod_fastcgi/2.4.2
PHP/5.0.5-3 proxy_html/2.4 mod_ssl/2.0.55 OpenSSL/0.9.8b
_ENV["ORIG_SCRIPT_NAME"] /locator/phpinfo.php
_ENV["ORIG_SCRIPT_FILENAME"] /var/www/html/wormcs/locator/phpinfo.php
_ENV["PATH_INFO"] no value
_ENV["PATH_TRANSLATED"] no value
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 license at php.net.
merci / thx for your help
best regards
worm
Patrick R. Michaud a écrit :
> On Sun, Aug 13, 2006 at 10:30:15AM +0200, worm wrote:
>
>> hi all
>>
>> some peaple have a idea?
>>
>> page for example :
>> http://www.wormcs.dyndns.org/wiki/master-edit/Private/ExBug
>>
>> passwd : test
>>
>> (no login name)
>>
>> i use : debian-etch/apache2/php5
>> pmwki version : 2.1.11
>>
>
> What version of PHP are you running?
>
>
>> i have this warning : "Warning: session_write_close()
>> [function.session-write-close]: Your script possibly relies on a session
>> side-effect which existed until PHP 4.2.3. Please be advised that the
>> session extension does not consider global variables as a source of
>> data, unless register_globals is enabled. You can disable this
>> functionality and this warning by setting session.bug_compat_42 or
>> session.bug_compat_warn to off, respectively. in /wiki/pmwiki.php on
>> line 1582"
>>
>
> I don't know why this warning is appearing; AFAIK PmWiki doesn't
> rely on the side effect being given in the warning. At any rate,
> you should be able to set session.bug_compat_warn to off. But I
> am curious to know which version of PHP is generating this error.
>
> Pm
>
More information about the pmwiki-users
mailing list