Re: The answer (Bug in 4.03pl1 multipart/form-data method (file uploads))
| From: | Andi Gutmans | Date: | Mon, 13 Nov 2000 15:49:23 +0000 |
| Subject: | Re: The answer (Bug in 4.03pl1 multipart/form-data method (file uploads)) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-37934@lists.php.net to get a copy of this message | ||
James,
post_max_size is a system-directive meaning it can't be overriden by .htaccess.
In order to successfully change this in httpd.conf you need to use php_admin_value and not php_value for it.
That is the reason it didn't catch on for you.
Andi
At 10:08 AM 11/13/00 -0500, James Treworgy wrote:
Here's the problem. This directive in httpd.conf is ignored: php_value post_max_size 99M whereas php_value upload_max_filesize 99M is activated properly. On the other hand, both directives work in php.ini. What might be useful is an error message from PHP if someone exceeds post_max_size ;-) Thanks everyone for you help with this. Jamie At 09:25 AM 11/13/00, Andi Gutmans wrote:--- Andi Gutmans <andi@zend.com> http://www.zend.com/Can you try and set them in the php.ini and see if it makes a difference? Also you might want to try 99M instead of those numbers :) It's going to be hard to debug this without you getting your hands on gdb ;) Andi At 09:14 AM 11/13/00 -0500, James Treworgy wrote:Already have all those. From my httpd.conf: #PHP3 Directives php_flag track_vars On php_flag asp_tags on php_flag file_uploads on php_value post_max_size 99999999 php_value upload_max_filesize 99999999 php_value upload_tmp_dir /hd2/var/php_upload -- Jamie