[PHP-DEV] Re: The answer (Bug in 4.03pl1 multipart/form-data method (file uploads)) From: Andi Gutmans (andi <email protected>)
Date: 11/13/00

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:
>>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

---
Andi Gutmans <andi <email protected>>
http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>