ID: 10500 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: HTTP related Operating System: Win98 SE PHP Version: 4.0.4pl1 New Comment:
fdaadffdaI use php 4.1.2( in apache that apears like 4.1.3) and apache server 1.3.22. PHP like module of Apache... In config file all is OK, but when I upload the file larger then 5mb I have the same problem: FATAL: erealloc(): Unable to allocate 5780001 bytes The same problem was with older versions of PHP and Apache... Previous Comments: ------------------------------------------------------------------------ [2001-06-12 03:59:43] [EMAIL PROTECTED] No feedback, old version. ------------------------------------------------------------------------ [2001-05-18 04:45:08] [EMAIL PROTECTED] can you check that your php.ini file is actaully being read? This works fine for me. Also please upgrade to 4.0.5 or latest CVS and check that this is still the case. Thanks. - James ------------------------------------------------------------------------ [2001-04-25 17:49:49] [EMAIL PROTECTED] It appears to be that 5884001 bytes (or so) is the upper limit of the file size -- doesn't matter what the php.ini options are. I tried even rebooting the whole machine after the applied changes (well, Microsoft tactics) -- no luck. ------------------------------------------------------------------------ [2001-04-25 17:42:40] [EMAIL PROTECTED] This is exactly the same problem as bug #3627. OS: Win98 SE Running Apache Server 1.3.9 with PHP 4.0.4pl1. I'm trying to upload a 10MB file onto the FTP server. PHP 4.0.4pl1 has been downloaded precompiled from www.php.net. PHP.INI fraction: max_execution_time=2400 memory_limit=60M post_max_size=20M upload_max_filesize=20M The apache server will dump two lines into the error.log and ftp file transfer will die (server stays intact): Premature end of script headers: c:/bin/php/php.exe FATAL: erealloc(): Unable to allocate 5884001 bytes If I try to send the file <= 5M it is working fine and fast. Thanks, Dragan ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=10500&edit=1