This is total guess - do you have memory-limit disabled?
Apparently php can be compiled with it disabled. Maybe this is the default for the windows php executable???.
My php (4.3.4) running on windows xp, doesn't have memory_limit listed when I run phpinfo.
Source of my guess: http://www.php.net/downloads.php ************************************************************ PHP 4.0.6 memory limit fix [312b] - 1 July 2001 (This patch fixes a bug in the 4.0.6 memory limit option. This is only needed when configuring PHP with --enable-memory-limit). If you have problems applying the patch try using GNU patch. md5: 75a6f4377ab54853bf866ffd44d1c700 ************************************************************
Aaron
On 8 Mar 2005 at 22:00, Dan Robinson wrote:
Sorry if this is considered off-topic - but I've been trying to get some Drupal (4.6) work done and have been beating my head against this all day -
I'm having a wierd problem. I'm setting up my laptop (winxp home) to do some dev. work - I have previously installed apache 1.x and PHP 4.3.10. I can't get the "memory_limit" ini setting to "take". It is clearly (and I believe correctly) set in my ini file -
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
Which is the default when you set up PHP. When I do a phpinfo() it simply doesn't report anything - doesn't show up. Other variables can be set in that ini file and they do show up.
I have tried to manually set it but that doesn't work. I try this:
print "here I am: ".ini_get('memory_limit')."</br>"; print "here I am: max size: ".ini_get('post_max_size');
and I can see post_max_size but not memory_limit. I have tried with both the cgi and dll flavors of PHP. I deeply suspect a stupid MS trick. HELP!
Needless to say everything is working fine in linux land - I just got done there in 2 minutes what I have spent all day doing so far - but I would like to be able to work on my laptop (no jokes about installing linux on my laptop please - I've had enough today already).
Thanks in adavance,
Dan