From:             mazsolt at yahoo dot com
Operating system: windows 2000 Server
PHP version:      4.3.0
PHP Bug Type:     *General Issues
Bug description:  ignore_user_abort&memory_limit

php.ini:
output_buffering = Off

IIS:
disable ouput buffering

the program:
<?php
ignore_user_abort(false);
echo str_repeat("start",300);
sleep(10);
[EMAIL PROTECTED]("test.txt","w") or die("problems");
?>

After about 3 seconds, I aborted the program execution, but the program
wasn't finished, it created the file test.txt. I also tested with Windows
2000 Profesional, and the result was the same.

My question: ignore_user_abort() doesn't work on Windows? When I call
phpinfo(), it shows the configuration variable ignore_user_abort with the
value Off. But in the file php.ini I don't find it anywhere. Why?

------------------------------------------------
other problem: memory_limit (Windows 2000 Server)
-------------------------------
The documentation writes(Getting started/configuration/configuration
directives) that the option memory_limit can be changed everywhere
(PHP_INI_ALL). I observe the following problems:

1. The memory_limit isn't displayed when the script displays the conf.
options with phpinfo()

2. The ini_get("memory_limit") function  doesn't return the value of
memory_limit, too (it returns a blank space)

3. when I set in the php.ini memory_limit to ) 0, the
get_cfg_var("memory_limit") returns the value of 0. When I set
ini_set("memory_limit","0")(both of them should mean that the script has
no memory space), but the script runs without problems

Please, confirm if the enumerated observations are a bug, or the problems
persist because of Windows 2000 Server. I read very carefuly the
documentation for PHP 4.3. Does it mean that the memory_limit can be
changed inside a script ? Why is written that this option is changeable by
PHP_INI_ALL ????   

-- 
Edit bug report at http://bugs.php.net/?id=22869&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22869&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22869&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22869&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22869&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22869&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22869&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22869&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22869&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22869&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22869&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22869&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22869&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22869&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22869&r=gnused

Reply via email to