ID:               37300
 Updated by:       [EMAIL PROTECTED]
 Reported By:      astinky at lycos dot com
-Status:           Open
+Status:           Assigned
-Bug Type:         Scripting Engine problem
+Bug Type:         Unknown/Other Function
 Operating System: Windows Server 2003
 PHP Version:      5.1.3
-Assigned To:      
+Assigned To:      edink


Previous Comments:
------------------------------------------------------------------------

[2006-05-04 02:48:42] astinky at lycos dot com

Description:
------------
Re: http://bugs.php.net/bug.php?id=36568

It seems this is not quite fixed.

This test script below fails, with no error output and does not echo
the memory limit at all.

This is on Apache 2.2.2 php 5.1.3 eAcclerator 0.9.5-b2.
(tested with eAcclerator disabled - same result)

The apache2handler I'm using is self compiled, but I suspect it is not
the problem as another server (Windows Server 2003, II6 php 5.1.2 or
php 5.1.3 shows similar symptoms)

I am using the posted windows binaries for php 5.1.3 and apche 2.2.2

Both servers show an error for the webserver exe in the event log on
shutdown with the faulting module varying (php5ts.dll, php_mysql.dll,
ntdll.dll, msvcrt.dll...) on previous searches of the bugs here this is
always attributed to server misconfiguration. I have been running
apache/php for years and am intimately fmiliar with its configuration
and have been frustrated by this error appearing in recent php
versions.

I'm going to take a look at the related php code tomorrow and will
reprt any findings I might come up with.

I notice previous comments about no support for a memory limit in
windows, but I'm sure it worked in php 5.0.5... (tried stting it to -1
which also fails) 

Thanks for any assistance you can offer.



Reproduce code:
---------------
<?php
echo 'memory_limit: ';
ini_set("memory_limit", "32M");
echo ini_get("memory_limit");
?>

Expected result:
----------------
I expect to be able to set the memory limit. (particularly for a script
of mine that loads huge arrays from a 2.9 MB tab delimited text file -
which worked fine in earler php5 versions but its output is truncated
in php 5.1.2 and 5.1.3). I do not expect the webserver to fault on
shutdown.

Actual result:
--------------
Unable to set memory limit, webserver faults on shutdown.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37300&edit=1

Reply via email to