#35685 [Fbk]: post_max_size stays locked to 8M

From: Date: Thu, 15 Dec 2005 18:41:33 +0000
Subject: #35685 [Fbk]: post_max_size stays locked to 8M
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-90480@lists.php.net to get a copy of this message
ID: 35685 Updated by: sniper@php.net Reported By: motion_4u at hotmail dot com Status: Feedback Bug Type: *General Issues Operating System: Windows 2000 advanced PHP Version: 5.1.1 New Comment: And FYI: PHP does not store the whole file in memory. Thus the memory_limit of 200M is a bit too much. 8M is fine. Previous Comments: ------------------------------------------------------------------------ [2005-12-15 19:40:53] sniper@php.net And what is upload_max_filesize set to? Does the upload give any error? Do var_dump($_FILES); and you should see the error code. ------------------------------------------------------------------------ [2005-12-15 17:28:18] motion_4u at hotmail dot com Description: ------------ I have tried to upload a 100MB file to the server and for that I have changed the following variables to enable the upload within PHP.INI file: max_execution_time = 3000 max_input_time = 600 memory_limit = 200M post_max_size = 200M But uploading small files up to 8 MB do work but PHP stops the upload for files bigger than 8 MB. I have also tried to set the post_max_size value with the ini_set ( "post_max_size", "200M" ); with no success. Actual result: -------------- Calling the below snippent echo 'post_max_size = ' . ini_get('post_max_size'); shows still: post_max_size =8M :(( ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35685&edit=1

« previous php.bugs (#90480) next »